fix relative certdir
This commit is contained in:
parent
1227369db3
commit
9ab7842c81
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue