Merge pull request #1 from mhils/master

Fix cert generation if confdir is relative
This commit is contained in:
Aldo Cortesi 2012-07-11 02:14:38 -07:00
commit f62d5b43b6

View File

@ -43,8 +43,9 @@ def dummy_ca(path):
os.makedirs(dirname)
if path.endswith(".pem"):
basename, _ = os.path.splitext(path)
basename = os.path.basename(basename)
else:
basename = path
basename = os.path.basename(basename)
key, ca = create_ca()