You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Ajenti (ajenti-panel==2.1.23) on a fresh isntall of Ubuntu 16.04.3.
When i try to generate a self-signed certificate with ajenti-ssl-gen it says that PKey is not defined.
Replacing
from OpenSSL.crypto import *
by
from OpenSSL.crypto import dump_certificate, dump_privatekey, FILETYPE_PEM, PKey, TYPE_RSA, X509
actually solve the problem.
The bug have been reported upstream (pyca/pyopenssl#715), but it would be nice to have a fix and stick with the good pratice of not doing from […] import *.
Regards.
The text was updated successfully, but these errors were encountered:
Hello,
I'm using Ajenti (ajenti-panel==2.1.23) on a fresh isntall of Ubuntu 16.04.3.
When i try to generate a self-signed certificate with
ajenti-ssl-gen
it says thatPKey
is not defined.Replacing
by
actually solve the problem.
The bug have been reported upstream (pyca/pyopenssl#715), but it would be nice to have a fix and stick with the good pratice of not doing
from […] import *
.Regards.
The text was updated successfully, but these errors were encountered: