D
D
Dmitry Shnyrev2014-08-14 17:14:13
Digital certificates
Dmitry Shnyrev, 2014-08-14 17:14:13

What data must be specified when generating csr?

I was busy getting an ssl certificate for my site in RapidSSL
according to the instructions, I have to generate a key and csr:


To generate a CSR on Nginx, please do the following:
1. Login to your server via your terminal client (ssh). At the prompt, type:
openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr
2. This will begin the process of generating two files: the Private-Key file for the decryption
of your SSL Certificate,
and a certificate signing request (CSR) file used to apply for your SSL Certificate.
3. The command from Step 1 will prompt for the following X.509 attributes of the certificate
Country Name (C): Use the two-letter code without punctuation for country, for example: US or CA.
State or Province (S): Spell out the state completely; do not abbreviate the state or province name, for example: California.
Locality or City (L): The Locality field is the city or town name, for example: Berkeley.
Organization (O): If your company or department has an &, @, or any other symbol using the
shift key in its name, you must spell out the symbol or omit it to enroll, for example:
XY & Z Corporation would be XYZ Corportation or XY and Z Corportation.
Organizational Unit (OU): This field is the name of the department or
organization unit making the request.
Common Name (CN): The Common Name is the Host + Domain Name.
NOTE: RapidSSL certificates can only be used on Web servers using the Common Name
specified during enrollment. For example, a certificate for the domain "domain.com" will
receive a warning if accessing a site named www.domain.com or "secure.domain.com",
because "www.domain.com" and "secure.domain. com" are different from "domain.com."

Actually the question is - what data should I specify in the Country Name, Locality or City, Organization, Organizational Unit? Where will they be used, tested? Can I not specify anything at all if I am a frequent person?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2014-08-14
@dmnBrest

Real data
indicate the country
region
city
name of the organization
department
will be used in the certificate if you take a very reliable certificate then you can’t
check everything from cover to cover

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question