Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (70)
EC Keys (967)
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 (3287)
Revoked Certificates (16)
Root CA (85)
RSA Keys (2635)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
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 ..."
2022-04-11, 40714👍, 1💬
Popular Posts:
Certificate Summary: Subject: AddTrust Qualified CA Root Issuer: AddTrust Qualified CA Root Expirati...
What options are supported by the "keytool -exportcert" command? Java Keytool can be used to export ...
How to delete a certificate from a certificate store with Microsoft "certutil" tool? If you want to ...
How to view detailed information of a certificate in Firefox? I want to know in which country the ow...
What is the wrap of an ASN.1 SEQUENCE structure? The wrap of an ASN.1 SEQUENCE structure is the bina...