[gnutls-help] Using password encrypted keys with certificates
nmav at gnutls.org
Mon Apr 8 17:41:10 CEST 2013
On 04/07/2013 09:36 PM, MK wrote:
> I've been developing an http(s) server in my spare time for a few years
> and last fall converted it to use gnutls.
> Up until now I've been using certificates with keys that are not
> password encrypted, via gnutls_certificate_set_x509_key_mem(), but I
> need to add functionality to deal with keys that are encrypted
> with a password. What is the basic procedure for doing this?
The simplest way is to use gnutls_certificate_set_x509_simple_pkcs12_file().
More information about the Gnutls-help