Change CJP Private SaaS Edition under your own domain (from http to https with a wildcard certificate)

Issue

  • Run your CJP Private SaaS Edition service under your own domain (change from http to https with a wildcard certificate) give an error:

    the <HOSTNAME> does not appear to be a valid hostname"
    
    domain-name-change failed
    

Environment

  • CloudBees Jenkins Enterprise (CJE)

Resolution

Please refer to the Change Domain Name and/or Enable SSL to see the how to change the domain name and see whether you can register a wildcard DNS entry.

You need to configure your domain_name and path_mode in cluster-init.config. Here is an example:

[tiger]
...
domain_name = pse.<YOUR_DOMAIN_NAME>
domain_separator = . 
path_mode = yes

The path_mode = yes is only necessary if wildcard DNS cannot be used. If you can register a wildcard DNS entry, then set path_mode = no. Refer to Domain options guide and DNS entry for more information.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.