formatting
This commit is contained in:
parent
054b351435
commit
2d39c4aaa3
1 changed files with 3 additions and 2 deletions
|
@ -166,7 +166,7 @@ class EasyRSA:
|
||||||
config.crypto.ca_password = ca_password
|
config.crypto.ca_password = ca_password
|
||||||
config.save()
|
config.save()
|
||||||
|
|
||||||
return config.crypto.ca_password
|
return ca_password
|
||||||
|
|
||||||
def __easyrsa(
|
def __easyrsa(
|
||||||
self,
|
self,
|
||||||
|
@ -276,7 +276,8 @@ class EasyRSA:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return self.__build_cert(
|
return self.__build_cert(
|
||||||
Path(f"issued/{dn.common_name}.crt"),
|
Path("issued").joinpath(f"{dn.common_name}.crt"),
|
||||||
|
|
||||||
f"build-{cert_type}-full",
|
f"build-{cert_type}-full",
|
||||||
dn.common_name,
|
dn.common_name,
|
||||||
"nopass",
|
"nopass",
|
||||||
|
|
Loading…
Reference in a new issue