Question
Help with proper FQDN naming
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.
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.
×