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"
2022-07-26, ≈51🔥, 4💬
Popular Posts:
Certificate summary - Owner: www.xe.com, L=Newmarket, ST=Ontario, CA, SERIALNUMBER=1348672, XE Corpo...
How to start OpenSSL? Where is it located? I have installed OpenSSL for Windows 0.9.8h on my Windows...
Certificate summary - Owner: *.us1.list-manage.com, "The Rocket Science Group, LLC", L=Atlanta, ST=G...
How to print out the certificate chain a "cert8.db" file using Mozilla "certutil" tool? If you want ...
Certificate summary - Owner: t.co, Twitter Operations, "Twitter, Inc.", L=San Francisco, ST="Califor...