Question

Comodo EV SSL isuues - The domain name in the CSR does not match the domain name of the purchased order.

Dear Sir, I have used the following command to generate CSR:

openssl req -newkey rsa:2048 -nodes -keyout himalayanhost.com.key -out himalayanhost.com.csr

But when request certificate following error occurred:

**The domain name in the CSR does not match the domain name of the purchased order. **

Please help.

Regards Rabindra Yadav

Show comments

Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Accepted Answer

Hi, Yes you need to generate the CSR and the Private key at the server side.

Do we need to generate the CSR and the Private key at the server side?

Generate a CSR and private key

openssl req -new -newkey rsa:2048 -nodes -keyout yourdomain.key -out yourdomain.csr

Common Name: The fully-qualified domain name, or URL, you’re securing. If you are requesting a Wildcard certificate, add an asterisk (*) to the left of the common name where you want the wildcard, for example *.bagario.net Organization: The legally-registered name for your business. If you are enrolling as an individual, enter the certificate requestor’s name. Organization Unit: If applicable, enter the DBA (doing business as) name. City or Locality: Name of the city where your organization is registered/located. Do not abbreviate. State or Province: Name of the state or province where your organization is located. Do not abbreviate. Country: The two-letter International Organization for Standardization (ISO) format country code for where your organization is legally registered. Decode a CSR

openssl req -in server.csr -noout -text

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.