Skip to content

Commit

Permalink
bugfix on tls command
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyprien committed Jun 7, 2017
1 parent dadc4d3 commit b8e7f2e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ a2svm
Changelog
#############

0.0.8 (20170608)
*******************

* bugfix on letsencrypt certificate generation with more than one alias

0.0.7 (20170606)
*******************

Expand Down
2 changes: 1 addition & 1 deletion a2svm/a2svm.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def gen_cert(self, vhost_name):
extra_alias = ""
for fqdn in vhost.alias.split(' '):
if fqdn not in ['"', ' ']:
extra_alias += " -d " + fqdn
extra_alias += " -d " + fqdn.strip('"')
self.run_command(self.certbot_path, "certonly --noninteractive --agree-tos --email " + self.certbot_mail + " --webroot --expand -w /var/www/vhosts/" + vhost.directory + "/html/ -d " + vhost.servername + extra_alias , "Certificate update requested")

def launcher():
Expand Down
2 changes: 1 addition & 1 deletion a2svm/ressources.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
__author__ = "Cyprien Devillez"
__license__ = "GPL"
__author_email__ = "[email protected]"
__version__ = "0.0.7"
__version__ = "0.0.8"
__description__ = "Simple CLI tool to create and delete easily virtual hosts in Apache."

0 comments on commit b8e7f2e

Please sign in to comment.