Question

How do I generate a CSR Code.

Hi there, Please let my know how to create the CSR Code my domain that registered in namecheap and the ssl too.

I am using Ubuntu 14.04 x64 they asking Select web server and CSR Code.

Please help me to point my name to my ssl that hosted in Digital Ocean.

Note i already (https://www.digitalocean.com/community/questions/how-do-i-generate-a-csr-key) read this but i don’t know how to use it.

Thanks in advance!

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Welcome to the digitalocean community.

Allright so since you bought a Ubuntu droplet I believe you know how to manage a linux system. If you don’t, please check out how to manage it first using WinSCP and Putty.

You can create a CSR code for an SSL certificate using putty. If you login to your droplet you can use the command in the other question to create a CSR in your current directory. So first of all go to a directory where you want to create the CSR. Use the following command for example:

cd /etc/ssl

If you want to create a new directory for your CSR you can use this for example:

mkdir /etc/ssl/websitessl

If you create a new directory, cd into it afterwards. Now you can create a CSR in there:

openssl req -new -newkey rsa:2048 -nodes -keyout domainname.key -out domainname.csr
rsa:2048
```means you create a 2048bits csr. I recommend for more security to use ```rsa:4069```
You also need to change ```domainname.key```and ```domainname.csr``` into your own domain name so you can verify the CSR file. After you filled in all the legit information , you can open the new file using a client for example WinSCP, copy it, and use it for your SSL.

I hope this will help you, if not you can come back here and I'll be happy to help you.

Trying to create CSR from Ocean digital console File After I enter all the attributes including challenge password just goes back to openssl

how do I generate a CSR code?