Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (83)
EC Keys (2461)
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 (6619)
Revoked Certificates (16)
Root CA (85)
RSA Keys (5332)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
Collections:
Other Resources:
OpenSSL "req" - "prompt=no" Mode
How to use the "prompt=no" mode of the OpenSSL "req -new" command? I want to specify DN field values directly in the configuration file.
✍: FYIcenter.com
You can use "prompt=no" mode of the OpenSSL "req -new" command as shown below, if you set "prompt=no" and provide DN (Distinguished Name) field values in the configuration file.
C:\Users\fyicenter>type test.cnf # unnamed section of generic options default_md = md5 # default section for "req" command options [req] input_password = fyicenter prompt = no distinguished_name = my_req_dn_no_prompt [my_req_dn_no_prompt] commonName = FYIcenter.com CA countryName = US stateOrProvinceName = NY localityName = New York organizationName = FYI Center organizationalUnitName = IT emailAddress = ca@fyicenter.com C:\Users\fyicenter>\local\openssl\openssl.exe OpenSSL> req -new -key rsa_test.key -out test.csr -config test.cnf OpenSSL> req -in test.csr -text -noout Certificate Request: Data: Version: 0 (0x0) Subject: CN=FYIcenter.com CA, C=US, ST=NY, L=New York, O=FYI Center, OU=IT /emailAddress=ca@fyicenter.com Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (1024 bit) ...
As you can see from the output, the "req -new" command executed correctly in the "prompt=no" mode. distinguished_name section options are used as DN filed values.
⇒ OpenSSL "req" - "prompt=yes" Mode
2016-11-02, 12941🔥, 0💬
Popular Posts:
Certificate summary - Owner: *.soup.io, PositiveSSL Wildcard, Domain Control Validated Issuer: Posit...
Certificate summary - Owner: *.bbc.co.uk, British Broadcasting Corporation, Internet Operations, L=L...
How to download the server certificate from Facebook.com Web site? I want to have a new certificate ...
Certificate summary - Owner: gp1.wac.edgecastcdn.net, "EdgeCast Networks, Inc.", L=Santa Monica, ST=...
Certificate summary - Owner: web1.plala.or.jp, Network Engineering Dpt., NTT Plala Inc., L=Toshima-k...