cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Kamil Dudka <kdudka_at_redhat.com>
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:

https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS

Kamil

> 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: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-03-22