Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (83)
EC Keys (2462)
Firefox (30)
General (10)
Google Chrome (25)
Intermediate CA (152)
Java VM (29)
JDK Keytool (28)
Microsoft CertUtil (29)
Microsoft Edge (9)
Mozilla CertUtil (21)
OpenSSL (236)
Other (7)
Portecle (38)
Publishers (6622)
Revoked Certificates (16)
Root CA (85)
RSA Keys (5335)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
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, 48371🔥, 4💬
Popular Posts:
Certificate summary - Owner: www.demandmedia.com, Akamai SAN SSL OV, Media Operations, Demand Media ...
Certificate Summary: Subject: *.duckduckgo.com Issuer: DigiCert SHA2 Secure Server CA Expiration: 20...
How to save the output of an OpenSSL command into a file? I want to make a copy of the server certif...
How to open an encrypted DSA key file using OpenSSL "dsa" command? I was told the key file is DES en...
Certificate Summary: Subject: www.amazon.fr Issuer: VeriSign Class 3 Secure Server CA - G3 Expiratio...