Fix openssl on windows
This commit is contained in:
parent
70feb3a82e
commit
71d8b46ba5
|
@ -158,7 +158,7 @@ class CryptConnectionManager:
|
|||
proc.wait()
|
||||
print(back)
|
||||
|
||||
print(subprocess.run(helper.shellquote(self.openssl_bin) + " rand -hex 256", shell=True, stdout=subprocess.PIPE).stdout.decode(errors="replace"))
|
||||
print(subprocess.run(helper.shellquote(self.openssl_bin) + " rand -hex 65536", shell=True, stdout=subprocess.PIPE).stdout.decode(errors="replace"))
|
||||
|
||||
if not (os.path.isfile(self.cacert_pem) and os.path.isfile(self.cakey_pem)):
|
||||
self.log.error("RSA ECC SSL CAcert generation failed, CAcert or CAkey files not exist. (%s)" % back)
|
||||
|
|
Loading…
Reference in New Issue