mozilla-libnss failed to find the certificate

Can anyone please help me to fix the below issue

I am using libnss to implement tls connection between a server and a client,
Both are being run on a single machine.

First I tried to run ./certutil exe, I got the below output on console

Certificate Nickname Trust Attributes
SSL,S/MIME,JAR/XPI

Then I tried running the server that is ./selfserv , but I got one error shown below, here -n (nickname) I am passing as SSL.

Is that right ? or what exactly going wrong here

selfserv: Can’t find certificate SSL

Also please explain me how to execute the server and client using mozilla nss with simple steps


Source: linux

Leave a Reply