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 ..."
2024-03-12, ≈54🔥, 2💬
Popular Posts:
How can I use Mozilla "certutil -A" command? What are command options supported by "certutil -A"? Th...
Certificate Summary: Subject: GeoTrust Global CA Issuer: GeoTrust Global CA Expiration: 2022-05-21 0...
Certificate Summary: Subject: T-TeleSec GlobalRoot Class 2 Issuer: T-TeleSec GlobalRoot Class 2 Expi...
Where to find tutorials on Working with Certificate Stores with "certutil" command? Here is a collec...
Certificate Summary: Subject: Thawte TLS RSA CA G1 Issuer: DigiCert Global Root G2 Expiration: 2027-...