When getting a new SSL certificate, what should I use as CN name?

This question is about https://confluence.atlassian.com/doc/running-confluence-over-ssl-or-https-161203.html.

Here is the paragraph that I have question with.

  1. Follow the prompts to specify your name, organization and location. This information is used to construct the X.500 Distinguished Name (DN) of the entity. The CN ("What is your first and last name?") must match the fully-qualified hostname of the server running Confluence, otherwise Tomcat will not be able to use the certificate for SSL. For example for a Confluence running on a server named "confluence.example.com":
    CN=confluence.example.com, OU=Java Software Division, O=Sun Microsystems Inc, C=US

So when I fill out CN, I thought it was hostname, like "localhost". However the example gives is a domain name "confluence.example.com". I wonder if I need to give hostname or domain name. In other words, if my internal team needs to access confluence using an explicit IP address "130.130.130.xxx" to a server with host name of "confserver" which one should I fill out in CN?

thank you.

1 answer

I believe you need the FQDN for CN. So its both host and domain name. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

199 views 4 1
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you