<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Install your own SSL certificate | Dynatrace help</title>
    <description></description>
    <link>https://www.dynatrace.com/support/help/</link>
    <atom:link href="https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/installation/install-your-own-ssl-certificate/feed.xml" rel="self" type="application/rss+xml"/>
    <lastBuildDate>Fri, 18 Oct 2019 07:17:18 +0200</lastBuildDate>
    <pubDate>Mon, 08 Apr 2019 13:05:46 +0200</pubDate>
    <generator>Metalsmith v2.3.0</generator>
    <item>
      <title>Install your own SSL certificate updated on Mon, 08 Apr 2019 13:05:46 +0200</title>
      <description>&lt;p&gt;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&amp;#x2014;each cluster gets a dedicated web domain (subdomain of &lt;code&gt;dynatrace-managed.com&lt;/code&gt;) and a trusted SSL certificate. You can use this domain to access the Dynatrace UI without receiving browser warnings.&lt;/p&gt;
&lt;p&gt;If you don&amp;apos;t want Dynatrace to create the domain and SSL certificate for you, go to &lt;strong&gt;Settings&lt;/strong&gt; &amp;gt; &lt;strong&gt;Preferences&lt;/strong&gt; in the Cluster Management Console and disable the &lt;strong&gt;Manage domain name and SSL certificates&lt;/strong&gt; option. Dynatrace will then use a self-signed SSL certificate. Self-signed certificates aren&amp;apos;t trusted by default&amp;#x2014;the first time you attempt to connect to Dynatrace Managed you&amp;apos;ll receive a security warning. Confirm this exception within your browser security settings.&lt;/p&gt;
&lt;p&gt;If you want to use your own trusted SSL certificate, after disabling automatic management, follow the instructions below.&lt;/p&gt;
&lt;h2 id=&quot;before-you-begin&quot;&gt;Before you begin
      &lt;span class=&quot;shortlink-copy shortlink-copy-js&quot; data-clipboard-text=&quot;https://www.dynatrace.com/support/help/shortlink/managed-ssl#before-you-begin&quot;&gt;
      &lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;You&amp;apos;ll need:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Your SSL certificate and the key files you received from Certificate Authority (CA):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Server certificate (&lt;code&gt;.cer&lt;/code&gt;  or &lt;code&gt;.cert&lt;/code&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Root and Intermediate certificates (&lt;code&gt;.cer&lt;/code&gt;  or &lt;code&gt;.cert&lt;/code&gt;)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Private key for certificates (&lt;code&gt;.pem&lt;/code&gt;)&lt;/p&gt;
&lt;div class=&quot;callout information&quot;&gt;
&lt;span class=&quot;callout__title&quot;&gt;Encrypted private keys&lt;/span&gt;
&lt;p&gt;We don&amp;apos;t support encrypted private keys. To decrypt an SSL private key, run the following command:&lt;br&gt;
&lt;code&gt;openssl rsa -in encrypted.ssl.key -out decrypted.ssl.key&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Replace &lt;code&gt;encrypted.ssl.key&lt;/code&gt; with the filename of your encrypted SSL private key and &lt;code&gt;decrypted.ssl.key&lt;/code&gt; with the output file for your decrypted SSL private key. The command will prompt you for the password and save the decrypted key in the file &lt;code&gt;decrypted.ssl.key&lt;/code&gt;.&lt;/p&gt;

&lt;/div&gt;

&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Optionally, for command line installation:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Dynatrace Managed installation script&lt;/li&gt;
&lt;li&gt;OpenSSL toolkit&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&quot;install-your-trusted-certificate-on-dynatrace-server&quot;&gt;Install your trusted certificate on Dynatrace Server
      &lt;span class=&quot;shortlink-copy shortlink-copy-js&quot; data-clipboard-text=&quot;https://www.dynatrace.com/support/help/shortlink/managed-ssl#install-your-trusted-certificate-on-dynatrace-server&quot;&gt;
      &lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;div class=&quot;step&quot;&gt;
&lt;p&gt;Log into Dynatrace Server as an administrator.&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;step&quot;&gt;
&lt;p&gt;On the &lt;strong&gt;Dynatrace Managed deployment status&lt;/strong&gt; page, select the cluster node that needs the new certificate.&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;step&quot;&gt;
&lt;p&gt;On the &lt;strong&gt;Node Details&lt;/strong&gt; page, click &lt;strong&gt;Edit SSL certificate&lt;/strong&gt;.&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;step&quot;&gt;
&lt;p&gt;You can paste or upload the key files you received from the CA authority.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Your Private key in the &lt;strong&gt;Private key&lt;/strong&gt; box.&lt;/li&gt;
&lt;li&gt;Your Server certificate in the &lt;strong&gt;Public key certificate&lt;/strong&gt; box.&lt;/li&gt;
&lt;li&gt;Your Root and Intermediate certificates in the &lt;strong&gt;Certificate chain&lt;/strong&gt; box.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;When you paste the key, make sure to include the headers and footers in the text field.&lt;br&gt;
&lt;img src=&quot;https://dt-cdn.net/images/onprem-ssl-certificates-1329-e9535c4e34.png&quot; alt=&quot;&quot;&gt;&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;step&quot;&gt;
&lt;p&gt;Click &lt;strong&gt;Save&lt;/strong&gt;  to upload the certificates.&lt;/p&gt;

&lt;/div&gt;
&lt;div class=&quot;callout information&quot;&gt;
&lt;span class=&quot;callout__title&quot;&gt;Name-mismatch error&lt;/span&gt;
&lt;p&gt;Your certificate is associated with a specific host name. To avoid a &lt;strong&gt;name-mismatch error&lt;/strong&gt;, make sure that the common name (domain name) in the SSL certificate matches the address that is in the address bar of the browser.&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&quot;install-certificate-during-dynatrace-managed-installation&quot;&gt;Install certificate during Dynatrace Managed installation
      &lt;span class=&quot;shortlink-copy shortlink-copy-js&quot; data-clipboard-text=&quot;https://www.dynatrace.com/support/help/shortlink/managed-ssl#install-certificate-during-dynatrace-managed-installation&quot;&gt;
      &lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;All you need to do is make a KeyStore file accessible to the Dynatrace Managed installation script.&lt;/p&gt;
&lt;p&gt;During Dynatrace Managed installation, you can use the &lt;code&gt;--ssl-keystore&lt;/code&gt; 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.&lt;/p&gt;
&lt;h3 id=&quot;how-do-i-prepare-the-keystore&quot;&gt;How do I prepare the KeyStore?
      &lt;span class=&quot;shortlink-copy shortlink-copy-js&quot; data-clipboard-text=&quot;https://www.dynatrace.com/support/help/shortlink/managed-ssl#how-do-i-prepare-the-keystore&quot;&gt;
      &lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;You need to combine the server certificates and private key into a PKCS12 SSL KeyStore. Use OpenSSL to generate this. In the command line, make sure to use &lt;code&gt;dynatraceserver&lt;/code&gt; as the name value and &lt;code&gt;dynatrace&lt;/code&gt; as the pass value:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash hljs&quot;&gt;openssl pkcs12 -&lt;span class=&quot;hljs-built_in&quot;&gt;export&lt;/span&gt; -out &amp;lt;dynatrace-keystore.pkcs12&amp;gt; -name dynatraceserver -password pass:dynatrace -&lt;span class=&quot;hljs-keyword&quot;&gt;in&lt;/span&gt; &amp;lt;server_certificate.cer&amp;gt; -certfile &amp;lt;root-and-intermediate-certificates.cer&amp;gt; -inkey &amp;lt;private-key-for-certificates.pem&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Note that to ensure that Dynatrace Server recognizes the certificates correctly, &lt;code&gt;-name dynatraceserver -password pass:dynatrace&lt;/code&gt; can&amp;apos;t be changed.&lt;/p&gt;
&lt;p&gt;If you intend to install your certificate during Dynatrace Managed installation or at a later time, you&amp;apos;ll need to keep the KeyStore on the machine.&lt;/p&gt;
&lt;h3 id=&quot;example&quot;&gt;Example
      &lt;span class=&quot;shortlink-copy shortlink-copy-js&quot; data-clipboard-text=&quot;https://www.dynatrace.com/support/help/shortlink/managed-ssl#example&quot;&gt;
      &lt;/span&gt;&lt;/h3&gt;
&lt;p&gt;If you&amp;apos;re logged in as root and want to use &lt;code&gt;/tmp/mycomp-ssl-cert.pkcs12&lt;/code&gt; during installation, use the following command to install Dynatrace Managed and your CA issued certificate:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;language-bash hljs&quot;&gt;dynatrace-managed-installer.sh --install --ssl-keystore /tmp/mycomp-ssl-cert.pkcs12 --license 1234abc567
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Note that you need to provide the full path to the KeyStore file as the &lt;code&gt;--ssl-keystore&lt;/code&gt; parameter value.&lt;/p&gt;
</description>
      <pubDate>Mon, 08 Apr 2019 13:05:46 +0200</pubDate>
      <link>https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/installation/install-your-own-ssl-certificate/?updated=mon-08-apr-2019-13-05-46-0200</link>
      <guid isPermaLink="true">https://www.dynatrace.com/support/help/setup-and-configuration/dynatrace-managed/installation/install-your-own-ssl-certificate/</guid>
    </item>
  </channel>
</rss>