[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: main: TLS init def ctx failed: -1
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: main: TLS init def ctx failed: -1 |
Date: |
Wed, 01 Dec 2010 21:21:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Thunderbird/3.0.10 |
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