Categories:
DH Keys (39)
DSA Keys (69)
EC Keys (336)
Firefox (32)
General (13)
Google Chrome (25)
Intermediate CA (152)
Java VM (20)
JDK Keytool (25)
Microsoft CertUtil (26)
Mozilla CertUtil (18)
OpenSSL (237)
Other (17)
Portecle (38)
Publishers (1966)
Revoked Certificates (30)
Root CA (87)
RSA Keys (1823)
Tools (47)
Tutorial (7)
What Is (21)
Windows (129)
Collections:
Other Resources:
OpenSSL "ca" Error "./demoCA/newcerts: No such file or directory"
Why I am getting the "./demoCA/newcerts: No such file or directory" error when running OpenSSL "ca" command?
✍: FYIcenter.com
If you are running the OpenSSL "ca" command installed
with the slproweb binary package for Windows,
you may get the "./demoCA/newcerts: No such file or directory" error as shown below:
C:\Users\fyicenter>\local\OpenSSL-Win32\bin\openssl.exe OpenSSL> ca -in test.csr -keyfile my_ca.key -cert my_ca.crt Using configuration from C:\local\OpenSSL-Win32\bin\openssl.cfg Enter pass phrase for my_ca.key:fyicenter I am unable to access the ./demoCA/newcerts directory ./demoCA/newcerts: No such file or directory error in ca
This error is caused by the "dir=./demoCA" and "certs=$dir/certs" options in the configuration file. These options requires you to have a sub directory called "\demoCA\certs" under the current directory to save output signed certificates. This is needed even if you specify the output file name with the "-out" option.
Fixing this error is easy. Just create the sub directory: ./demoCA/newcerts, as shown below:
C:\Users\fyicenter>mkdir demoCA C:\Users\fyicenter>mkdir demoCA\newcerts
⇒ OpenSSL "ca" Error "unable to open ./demoCA/index.txt"
2017-02-21, 28874👍, 2💬
Popular Posts:
Certificate summary - Owner: Microsoft Secure Server Authority, Dredmond, Dcorp, Dmicrosoft, Dcom Is...
How to view detailed information of a root CA certificate in Google Chrome? To view detailed informa...
Certificate Summary: Subject: thawte Primary Root CA Issuer: thawte Primary Root CA Expiration: 2036...
How to view the server certificate of the Website in Google Chrome? I know the Web site uses a "http...
Certificate summary - Owner: Starfield Class 2 Certification Authority, "Starfield Technologies, Inc...