<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Replace Self Signed SSL certificates with CA signed in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Self-Signed-SSL-certificates-with-CA-signed/m-p/157260#M57089</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; You can follow instructions similar to this: &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_Security_Guide/content/_set_up_truststore_for_ambari_server.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_Security_Guide/content/_set_up_truststore_for_ambari_server.html&lt;/A&gt;. Basically you'll need to import certificates to your truststore/keystore.&lt;/P&gt;</description>
    <pubDate>Thu, 23 Mar 2017 10:36:43 GMT</pubDate>
    <dc:creator>vgumashta</dc:creator>
    <dc:date>2017-03-23T10:36:43Z</dc:date>
    <item>
      <title>Replace Self Signed SSL certificates with CA signed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Self-Signed-SSL-certificates-with-CA-signed/m-p/157259#M57088</link>
      <description>&lt;P&gt;I have created self signed certificates (.csr and .key)  for my Ambari and Ranger in a kerberized environment all is working fine.We just order CA signed certificates ,so my question is how to I just repalce these self signed certificates with too much reconfiguration.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:15:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Self-Signed-SSL-certificates-with-CA-signed/m-p/157259#M57088</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2022-09-16T11:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Self Signed SSL certificates with CA signed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Self-Signed-SSL-certificates-with-CA-signed/m-p/157260#M57089</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; You can follow instructions similar to this: &lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_Security_Guide/content/_set_up_truststore_for_ambari_server.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_Security_Guide/content/_set_up_truststore_for_ambari_server.html&lt;/A&gt;. Basically you'll need to import certificates to your truststore/keystore.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 10:36:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Self-Signed-SSL-certificates-with-CA-signed/m-p/157260#M57089</guid>
      <dc:creator>vgumashta</dc:creator>
      <dc:date>2017-03-23T10:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Self Signed SSL certificates with CA signed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Self-Signed-SSL-certificates-with-CA-signed/m-p/157261#M57090</link>
      <description>&lt;P&gt;Resolved&lt;/P&gt;&lt;P&gt;Here we go, the CA signed certificate  $ambari_server_fqdn.crt to replaces the crt generated during the selfsigned test phase and the private key generated during the CSR creation is $ambari_server_fqdn.key copy the .crt and .keys, Ambari stores the ssl config in /etc/lib/ambari_server ........&lt;/P&gt;
&lt;PRE&gt;# cp /etc/ambari-server/certs/$ambari_server_fqdn.crt /var/lib/ambari-server/keys/https.crt 
# cp /etc/ambari-server/certs/$ambari_server_fqdn.key /var/lib/ambari-server/keys/https.key &lt;/PRE&gt;&lt;P&gt;After copying the above ccert and key to the destinations,restart the ambari-server&lt;/P&gt;&lt;PRE&gt;# service ambari-server restart 
&lt;/PRE&gt;&lt;P&gt;
	The Ambari should trust your CA signed 
Import to the trust keystore -destkeypass should be adapted to your environment.&lt;/P&gt;&lt;P&gt;
1: convert &lt;/P&gt;
&lt;PRE&gt;$openssl pkcs12 -export -in /etc/ambari-server/certs/$ambari_server_fqdn.crt -inkey /etc/ambari-server\
/certs/$ambari_server_fqdn.key -out /etc/ambari-server/certs/$ambari_server_fqdn.p12 -name \
$ambari_server_fqn &lt;/PRE&gt;&lt;P&gt;2:import &lt;/P&gt;&lt;PRE&gt;keytool -importkeystore -deststorepass changeit -destkeypass changeit -destkeystore /etc/ambari-server\
/certs/$ambari_server_fqdn.jks -srckeystore /etc/ambari-server/certs/$ambari_server_fqdn.p12 \
-srcstoretype PKCS12 -srcstorepass changeit -alias $ambari_server_fqdn &lt;/PRE&gt;&lt;P&gt;
	3: After import to trustore  remove the .p12 key no longer needed &lt;/P&gt;&lt;PRE&gt;rm /etc/ambari-server/certs/$ambari_server_fqdn.p12&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Apr 2017 05:58:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Self-Signed-SSL-certificates-with-CA-signed/m-p/157261#M57090</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2017-04-04T05:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Replace Self Signed SSL certificates with CA signed</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Self-Signed-SSL-certificates-with-CA-signed/m-p/302646#M57091</link>
      <description>&lt;P&gt;It's best to run:&lt;/P&gt;&lt;PRE&gt;ambar-server setup-security&lt;/PRE&gt;&lt;P&gt;and use Option1 to update https certificates. It will ask for crt and key files, and automatically updates relevant files behind the scene. The solution mentioned above doesn't work for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After security setup, restart ambari server:&lt;/P&gt;&lt;PRE&gt;ambari-server restart&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Sep 2020 03:28:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Replace-Self-Signed-SSL-certificates-with-CA-signed/m-p/302646#M57091</guid>
      <dc:creator>szhaoaus</dc:creator>
      <dc:date>2020-09-11T03:28:17Z</dc:date>
    </item>
  </channel>
</rss>

