We have purchased an SSL certificate and need to provide the CSR. From reading earlier postings, I believe I have the correct command for doing that. However, I am confused as to what to use for the Common Name. It says “server FQDN or YOUR name”. I don’t know what they mean by YOUR name (if someone cares to explain, i’ll be happy to read it), so I’ll focus on the FQDN.
I am running Ubuntu 14.04. For this question, I will use mydomain.com as our domain name.
When I run hostname, I get “mydomain” as the response. the /etc/hostname file looks like:
127.0.0.1 localhost mydomain mydomain.com www.mydomain.com
When I enter ‘hostname -f’, I get ‘localhost’. Should I set my FQDN to mydomain.com or mydomain.mydomain.com (or something else)?
Thanks.
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!
if you dns is setup correctly a host lookup for your domain name should come back with
# host domain.com
domain.com has address of 192.168.1.1
IP address is just representative of your IP. If the dns is set up properly then put in your FQDN for the common name.
I got no idea what is the ‘earlier posting’ you read. But if your ssl certificate is for aaa.domain.com, then you will have to input aaa.domain.com.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
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
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.