Can I use my own SSL certificate?

This topic applies to Dynatrace Managed installations only.

The Dynatrace UI is only accessible over encrypted HTTPS connections. To ensure secure access and avoid browser warnings, you must configure a valid SSL certificate. Dynatrace can manage this for you automatically—each cluster gets a dedicated web domain (subdomain of dynatrace-managed.com) and a trusted SSL certificate. You can use this domain to access the Dynatrace UI without receiving browser warnings.

If you don't want Dynatrace to create the domain and SSL certificate for you, go to Settings > Preferences in the Dynatrace Managed UI and disable the Manage domain name and SSL certificates option. Dynatrace will then use a self-signed SSL certificate. Self-signed certificates aren't trusted by default—the first time you attempt to connect to Dynatrace Managed you'll receive a security warning. Confirm this exception within your browser security settings.

If you want to use your own trusted SSL certificate, after disabling automatic management, follow the instructions below.

Before you begin

What you'll need:

Your SSL certificate and the key files you received from Certificate Authority (CA):

  • Server certificate (.cer or .cert )
  • Root and Intermediate certificates (.cer or .cert )
  • Private key for certificates (.pem )

Optionally, for command line installation:

  • Dynatrace Managed installation script
  • OpenSSL toolkit

Install certificate on Dynatrace Server

If you want to use your own certificate or a CA-issued certificate, upload or paste the certificate to Dynatrace Server. You can also set the host name associated with the certificate to be part of the Dynatrace Server configuration.

  1. Log in to Dynatrace Server as an administrator.
  2. On the Dynatrace Managed deployment status page, select the cluster node that needs the new certificate.
  3. On the Node Details page, click Edit SSL certificate.
  4. You can paste or upload the key files you received from the CA authority. When you paste the key, make sure to include the headers and footers in the text field.
  5. Click Save to upload the certificates.

Note:
Your certificate is associated with a specific host name. To avoid a name-mismatch error, make sure that the common name (domain name) in the SSL certificate matches the address that is in the address bar of the browser.

Install certificate during installation

All you need to do is make a KeyStore file accessible to the Dynatrace Managed installation script.

During Dynatrace Managed Server installation you can use the --ssl-keystore parameter to point the installer to where the PKCS12 KeyStore is. The installer will then use the KeyStore instead of generating a self-signed certificate.

Example

If you're logged in as root and want to use /tmp/mycomp-ssl-cert.pkcs12 during installation, use the following command to install Dynatrace Managed Server and your CA issued certificate:

dynatrace-managed-installer.sh --install --ssl-keystore /tmp/mycomp-ssl-cert.pkcs12 --license 1234abc567

Note that you need to provide the full path to the KeyStore file as the --ssl-keystore parameter value.