Categories:
DH Keys (148)
DSA Keys (201)
EC Keys (298)
Firefox (32)
General (13)
Google Chrome (25)
Intermediate CA (155)
Java VM (20)
JDK Keytool (25)
Microsoft CertUtil (26)
Mozilla CertUtil (18)
OpenSSL (237)
Other (17)
Portecle (38)
Publishers (1182)
Revoked Certificates (33)
Root CA (87)
RSA Keys (2040)
Tools (47)
Tutorial (7)
What Is (21)
Windows (129)
Collections:
Other Resources:
OpenSSL "ca" Error "lookup failed for ca::default_ca"
Why I am getting the "variable lookup failed for ca::default_ca" error when running OpenSSL "ca" command?
✍: FYIcenter.com
You are getting the "variable lookup failed for ca::default_ca" error,
because OpenSSL "ca" command can not find the required "default_ca" option
in the configuration file.
For example, if you have the follow configuration file, test.cnf, without "default_ca" option defined:
C:\Users\fyicenter>type test.cnf # Unnamed section of generic options default_md = md5
You will get an error, because "default_ca" is a required option:
C:\Users\fyicenter>\local\OpenSSL-Win32\bin\openssl.exe OpenSSL> ca -in test.csr -keyfile my_ca.key -cert my_ca.crt -config test.cnf Using configuration from test.cnf variable lookup failed for ca::default_ca 5956:error:0E06D06C:configuration file routines:NCONF_get_string: no value:.\crypto\conf\conf_lib.c:324:group=ca name=default_ca error in ca
Fixing this error is easy. Just add the "default_ca" option in the unnamed section or in the [ca] section of the configuration file:
C:\Users\fyicenter>type test.cnf # Unnamed section of generic options # section for the "default_ca" option [ca] default_ca = my_ca_default
⇒ OpenSSL "ca" Error "... directory for new certificate ..."
2016-09-09, 16080👍, 0💬
Popular Posts:
Certificate Summary: Subject: www.facebook.com Issuer: VeriSign, Inc., VeriSign International Server...
What is OpenSSL? OpenSSL is a robust, commercial-grade, full-featured, and Open Source toolkit imple...
What options are supported by the "keytool -gencert" command? Java Keytool can be used to sign a CSR...
What is samltool Certificate Fingerprint Calculator? samltool Certificate Fingerprint Calculator is ...
Certificate Summary: Subject: VeriSign Class 3 Extended Validation SSL CA Issuer: VeriSign Class 3 P...