cURL / Mailing Lists / curl-library / Single Mail


Re: Howto use libcurl with libnss and PKCS11 Interface to a Security Module?

From: Kamil Dudka <>
Date: Tue, 22 Mar 2016 09:42:35 +0100

On Monday 21 March 2016 09:29:06 Oliver Graute wrote:
> Hello list,
> we want to use libcurl and libnss together with a Security Module (SM).
> Libnss should use the PKCS11 Interface to a crypto Interface of the SM.
> Is such a libnss setup possible with libcurl? If yes can someone explain
> me what I need to do?

I guess you need to add the module to /etc/pki/nssdb/pkcs11.txt but you will
get a more precise answer on NSS-focused channels:


> If not which changes do libcurl need to get such a libnss setup with a SM?
> We allready compiled libcurl with --without-ssl and --with-nss. Now we
> assume that we need the NSS Engine. But CURLOPT_SSLENGINE only works
> with OpenSSL Support.
> Best Regards,
> Oliver
List admin:
Received on 2016-03-22