fix relative certdir
This commit is contained in:
parent
1227369db3
commit
9ab7842c81
|
@ -43,8 +43,9 @@ def dummy_ca(path):
|
||||||
os.makedirs(dirname)
|
os.makedirs(dirname)
|
||||||
if path.endswith(".pem"):
|
if path.endswith(".pem"):
|
||||||
basename, _ = os.path.splitext(path)
|
basename, _ = os.path.splitext(path)
|
||||||
|
basename = os.path.basename(basename)
|
||||||
else:
|
else:
|
||||||
basename = path
|
basename = os.path.basename(basename)
|
||||||
|
|
||||||
key, ca = create_ca()
|
key, ca = create_ca()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue