Compare commits
2 commits
8079036c75
...
2d39c4aaa3
| Author | SHA1 | Date | |
|---|---|---|---|
| 2d39c4aaa3 | |||
| 054b351435 |
1 changed files with 4 additions and 3 deletions
|
|
@ -123,7 +123,7 @@ class EasyRSA:
|
|||
},
|
||||
KeyAlgorithm.rsa4096: {
|
||||
"EASYRSA_ALGO": "rsa",
|
||||
"EASYRSA_KEY_SIZE": "2048",
|
||||
"EASYRSA_KEY_SIZE": "4096",
|
||||
},
|
||||
KeyAlgorithm.secp256r1: {
|
||||
"EASYRSA_ALGO": "ec",
|
||||
|
|
@ -166,7 +166,7 @@ class EasyRSA:
|
|||
config.crypto.ca_password = ca_password
|
||||
config.save()
|
||||
|
||||
return config.crypto.ca_password
|
||||
return ca_password
|
||||
|
||||
def __easyrsa(
|
||||
self,
|
||||
|
|
@ -276,7 +276,8 @@ class EasyRSA:
|
|||
return None
|
||||
|
||||
return self.__build_cert(
|
||||
Path(f"issued/{dn.common_name}.crt"),
|
||||
Path("issued").joinpath(f"{dn.common_name}.crt"),
|
||||
|
||||
f"build-{cert_type}-full",
|
||||
dn.common_name,
|
||||
"nopass",
|
||||
|
|
|
|||
Loading…
Reference in a new issue