Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (83)
EC Keys (2463)
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 (6622)
Revoked Certificates (16)
Root CA (85)
RSA Keys (5335)
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, 13269🔥, 0💬
Popular Posts:
Certificate Summary: Subject: *.pornhub.com Issuer: DigiCert SHA2 High Assurance Server CA Expiratio...
How to use RSA PKCS#1 v1.5 padding with OpenSSL "rsautl" command? I was told to encrypt a password u...
Certificate summary - Owner: *.ucsd.edu, ACT Data Center, "University of California, San Diego", L=L...
Certificate summary - Owner: EMAILADDRESS=info@valice rt.com,http://www.valicert.com/ ,ValiCert Clas...
Certificate summary - Owner: *.netvibes.com, Domain Control Validated - RapidSSL(R), See www.rapidss...