Re: Howto use libcurl with libnss and PKCS11 Interface to a Security Module?
Date: Thu, 24 Mar 2016 17:38:46 +0100
On Thursday 24 March 2016 16:52:48 Oliver Graute wrote:
> On 24/03/16, Kamil Dudka wrote:
> > 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.
> ok allready I tried to patch my nss with the nss-pem source code. But
> make didn't compiled the stuff in the lib/ckfw/pem folder. I'am wondering
You need to patch the build system of nss to include the directory into the
build. This is the one-line patch that Fedora and Gentoo Linux use to build
> > 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
> is this more straight forward? then I will try it this way to get my
It is definitely the goal to make the build more straightforward but it is
still a work in progress. Some additional work needs to be done before it
gets "officially" released.
> Best regards,
List admin: https://cool.haxx.se/list/listinfo/curl-library
Received on 2016-03-24