fix relative certdir

This commit is contained in:
Maximilian Hils 2012-07-11 11:09:41 +02:00
parent 1227369db3
commit 9ab7842c81
1 changed files with 2 additions and 1 deletions

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()