Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (70)
EC Keys (971)
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 (3291)
Revoked Certificates (16)
Root CA (85)
RSA Keys (2635)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
Collections:
Other Resources:
OpenSSL "req -config" - Using Configuration File
Can I use my own configuration file when running "req" command?
✍: FYIcenter.com
Yes, you can specify your own configuration file using the "-config file" option
when running the "req" command.
OpenSSL configuration file allows you to control the behavior of the "req" command with the following options:
There are 3 ways to specify "req" options in the configuration file:
1. Provide "req" options in the unnamed section at the beginning of the configuration file. For example:
default_md = md5 ... [section...]
2. Provide "req" options in the [req] section in the configuration file. For example:
[req] input_password = fyicenter ...
The following example shows how to create a OpenSSL configuration file and use it with the OpenSSL "req" command:
C:\Users\fyicenter> type test.cnf # unnamed section of generic options default_md = md5 # default section for "req" command options [req] input_password = fyicenter C:\Users\fyicenter>\local\openssl\openssl.exe OpenSSL> req -x509 -in rsa_test.csr -key rsa_test.key -out test.crt -config test.cnf OpenSSL> x509 -in test.crt -text -noout Certificate: Data: Version: 1 (0x0) Serial Number: d0:17:e6:c8:44:4a:0d:57 Signature Algorithm: md5WithRSAEncryption ...
The output confirms that:
⇒ OpenSSL "req" - distinguished_name Configuration Section
2016-11-03, 9370👍, 0💬
Popular Posts:
How to specify the root CA certificates that close the signing chain for the server certificate for ...
How to run Java Control Panel on Mac? I can not find it on my Mac computer. The "Java Control Panel"...
Where to find tutorials on using OpenSSL "x509" command? Here is a collection of tutorials on using ...
How to validate a certificate stored in a "cert8.db" file using Mozilla "certutil" tool? If you want...
Certificate Summary: Subject: Class 1 Public Primary Certification Authority Issuer: Class 1 Public ...