Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (70)
EC Keys (867)
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 (3101)
Revoked Certificates (16)
Root CA (85)
RSA Keys (2498)
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, 7597👍, 0💬
Popular Posts:
How to run Java Control Panel on Windows? I can not find it on my Windows computer. The "Java Contro...
How can I use Microsoft "certutil -verify" command? What are command options supported by "certutil ...
How to create a self-signed root certificate using "makecert.exe"? I want to issue and sign certific...
Certificate summary - Owner: CNNIC SSL, CNNIC SSL, CN Issuer: CNNIC ROOT, CNNIC, CN Expiration: Sun ...
What commands are supported in Microsoft CertUtil? Here is a complete list of commands supported in ...