Re: Error when setting up server db and certificate

Rajiv Reddy <[email protected]>
Newsgroups gmane.comp.mozilla.crypto
Message-ID <[email protected]>
On Sunday, May 22, 2016 at 11:35:19 AM UTC+5:30, Rajiv Reddy wrote:
> I am following the instructions given on https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/SSL_functions/gtstd.html#1012301 for getting started with SSL. As given in step 1, I successfully set up the CA DB and certificate. When I try to set up the server DB and certificate, the following command fails:
> 
> certutil -R -d server_db -s "CN=myco.mcom.org,O=MyCo,ST=California,C=US" -a -o server_db/server.req
> 
> The error message shown on the terminal is:
> 
> certutil:  unable to open "server_db/server.req" for writing (-5950, 2).
> 
> As instructed, I executed the command after changing directory to server_db. The files inside server_db are cert8.db, key3.db, secmod.db and server.req. Can someone please tell me how to resolve this issue?

Now it shows this error:

certutil: unable to generate key(s): SEC_ERROR_IO: An I/O error occurred during security authorization.

I executed this command from the directory named "test", which has the two directories CA_db and server_db.

-- 
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.