Categories:
Android (13)
Apple Mac (27)
DH Keys (39)
DSA Keys (70)
EC Keys (853)
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 (3080)
Revoked Certificates (16)
Root CA (85)
RSA Keys (2483)
Tools (46)
Tutorial (1)
What Is (22)
Windows (127)
Collections:
Other Resources:
OpenSSL "req -new" - "no objects specified in config file" Error
Why am I getting the "no objects specified in config file" error when running the OpenSSL "req -new" command?
✍: FYIcenter.com
If you are getting the "no objects specified in config file" error
when running the OpenSSL "req -new" command, because OpenSSL receives
no value for all DN (Distinguished Name) fields.
OpenSSL requires non-blank value at least for one DN field to identify the subject.
The test below shows you an example of the "no objects specified in config file" error:
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 = yes distinguished_name = my_req_dn_prompt [my_req_dn_prompt] # Minimum of 4 bytes are needed for common name commonName = Common Name commonName_default = FYIcenter.com CA # ISO2 country code only countryName = Country Name countryName_default = US # State is optional, no minimum limit stateOrProvinceName = State stateOrProvinceName_default = NY # City is required localityName = City localityName_default = New York # Organization is optional organizationName = Organization organizationName_default = FYIcenter.com # Organization Unit is optional organizationalUnitName = Department organizationalUnitName_default = IT # Email is optional emailAddress = Email emailAddress_default = ca@fyicenter.com C:\Users\fyicenter>\local\openssl\openssl.exe OpenSSL> req -new -key rsa_test.key -out test.csr -config test.cnf You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Common Name [FYIcenter.com CA]:. Country Name [US]:. State [NY]:. City [New York]:. Organization [FYIcenter.com]:. Department [IT]:. Email [ca@fyicenter.com]:. error, no objects specified in config file problems making Certificate Request error in req
Note that "." are entered to remove default values of all DN fields. OpepSSL is not able to create the subject for the new CSR.
⇒ OpenSSL "req -new" - Repeating DN Fields
2016-10-29, 19183👍, 0💬
Popular Posts:
How to connect to a HTTPS Web site using OpenSSL? I see the Web sites using the "https:\" format. If...
Certificate summary - Owner: user.hao123.com, service operation department, "BeiJing Baidu Netcom Sc...
Certificate summary - Owner: StartCom Class 1 Primary Intermediate Server CA, Secure Digital Certifi...
Where to click to get more Web site information in IE? I want to know if the page I am reading is se...
Certificate Summary: Subject: Internet Widgits Pty Ltd Issuer: Internet Widgits Pty Ltd Expiration: ...