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: Thu, 24 Mar 2016 11:28:20 +0100

On Thursday, March 24, 2016 10:49:21 Oliver Graute wrote:
> ok CURLOPT_VERBOSE to 1L helped a lot thx for that hint.
>
> No its complaining about missing libnsspem.so. Is this lib part of nss
> itself? I couldn't find it there.

Unfortunately, it is not part of the upstream nss distribution. There was
a plan to include it back in 2007:

    https://bugzilla.mozilla.org/show_bug.cgi?id=402712

... but it has never happened. On the other hand, it is included in the nss
package on Fedora, (optionally) on Gentoo and maybe some other Linux distros.

> Or is libnsspem.so part of nss-pem package?

Currently yes. There is a git repository of the nss-pem source code but it
needs to be built as part of the nss package in quite a complicated way.

Two weeks ago I reworked the nss-pem project such that it could be built on
its own against the public API of nss:

    https://git.fedorahosted.org/cgit/nss-pem.git/log/?h=public

It is now pending a review of nss folks...

Kamil

> 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-24