main: TLS init def ctx failed: -1
Nikos Mavrogiannopoulos
nmav at gnutls.org
Wed Dec 1 21:21:13 CET 2010
On 12/01/2010 12:36 PM, Fredrik Unger wrote:
The default gnutls functions do operate assuming that keys
are not encrypted. Programs that support encrypted keys
should use the pkcs8 functions instead (or
gnutls_certificate_set_x509_simple_pkcs12_file).
I don't know what ldap uses, though.
>> This is a private openssl format. gnutls accepts keys if they are
>> encrypted with
>> PKCS #8 or if they are unencrypted.
[...]
> certtool --infile key-8.pem --key-info -d 11
Try:
certtool -8 --key-info --infile key-8.pem
regards,
Nikos
More information about the Gnutls-help
mailing list