Compare commits
No commits in common. "2d39c4aaa360cefbcf008604dcc75b98717367dc" and "8079036c75f1e1b686ba03189d42fb6cc86633a9" have entirely different histories.
2d39c4aaa3
...
8079036c75
1 changed files with 3 additions and 4 deletions
|
|
@ -123,7 +123,7 @@ class EasyRSA:
|
||||||
},
|
},
|
||||||
KeyAlgorithm.rsa4096: {
|
KeyAlgorithm.rsa4096: {
|
||||||
"EASYRSA_ALGO": "rsa",
|
"EASYRSA_ALGO": "rsa",
|
||||||
"EASYRSA_KEY_SIZE": "4096",
|
"EASYRSA_KEY_SIZE": "2048",
|
||||||
},
|
},
|
||||||
KeyAlgorithm.secp256r1: {
|
KeyAlgorithm.secp256r1: {
|
||||||
"EASYRSA_ALGO": "ec",
|
"EASYRSA_ALGO": "ec",
|
||||||
|
|
@ -166,7 +166,7 @@ class EasyRSA:
|
||||||
config.crypto.ca_password = ca_password
|
config.crypto.ca_password = ca_password
|
||||||
config.save()
|
config.save()
|
||||||
|
|
||||||
return ca_password
|
return config.crypto.ca_password
|
||||||
|
|
||||||
def __easyrsa(
|
def __easyrsa(
|
||||||
self,
|
self,
|
||||||
|
|
@ -276,8 +276,7 @@ class EasyRSA:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return self.__build_cert(
|
return self.__build_cert(
|
||||||
Path("issued").joinpath(f"{dn.common_name}.crt"),
|
Path(f"issued/{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