easyrsa gen-dh
This commit is contained in:
parent
5b873aed18
commit
c0e21315e7
1 changed files with 4 additions and 1 deletions
|
@ -56,7 +56,7 @@ class EasyRSA:
|
|||
days: int = 365 * 50,
|
||||
cn: str = "kiwi-vpn-ca"
|
||||
) -> crypto.X509:
|
||||
return self.__build_cert(
|
||||
cert = self.__build_cert(
|
||||
Path("ca.crt"),
|
||||
|
||||
f"--passout=pass:{self.__ca_password}",
|
||||
|
@ -79,6 +79,9 @@ class EasyRSA:
|
|||
"build-ca",
|
||||
)
|
||||
|
||||
self.__easyrsa("gen-dh")
|
||||
return cert
|
||||
|
||||
def issue(
|
||||
self,
|
||||
days: int = 365 * 50,
|
||||
|
|
Loading…
Reference in a new issue