<?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: Enabling TLS for Cloudera Manager admin console in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Enabling-TLS-for-Cloudera-Manager-admin-console/m-p/288774#M213851</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34983"&gt;@chhaya_vishwaka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The "ERR_SSL_VERSION_OR_CIPHER_MISMATCH" error can happen if a JKS contains multiple certs with similar names.&lt;BR /&gt;Run below command for the keystore&lt;BR /&gt;# keytool -list -keystore server.jks&lt;BR /&gt;The correct cert with be the one with "Entry type: PrivateKeyEntry".&lt;BR /&gt;If you find a certificate with "Entry type: trustedCertEntry" and a similar alias name then that is the problem cert.&lt;/P&gt;&lt;P&gt;Remove this certificate from keystore using below steps:&lt;/P&gt;&lt;P&gt;i) Make a backup of the existing JKS.&lt;BR /&gt;ii) Stop CM&lt;BR /&gt;iii) Remove the cert identified above.&lt;BR /&gt;keytool -delete -alas &amp;lt;cert_alias&amp;gt; -keystore server.jks&lt;BR /&gt;iv) Start CM and test again.&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2020 07:43:46 GMT</pubDate>
    <dc:creator>paras</dc:creator>
    <dc:date>2020-01-31T07:43:46Z</dc:date>
    <item>
      <title>Enabling TLS for Cloudera Manager admin console</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Enabling-TLS-for-Cloudera-Manager-admin-console/m-p/288611#M213752</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to enable TLS for Cloudera Manager admin console , below are the commands I followed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Received signed host certificate from IT team ( &amp;lt;hostname&amp;gt;.pem ) , also rootca (root.pem)&lt;/P&gt;
&lt;P&gt;2. Copy the JDK cacerts file to jssecacerts as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo cp $JAVA_HOME/jre/lib/security/cacerts $JAVA_HOME/jre/lib/security/jssecacerts&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. import rootca cert into JKS store&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo $JAVA_HOME/bin/keytool -importcert -alias rootca -keystore $JAVA_HOME/jre/lib/security/jssecacerts -file /opt/cloudera/security/pki/root.pem&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;4. Created JKS and imported host certificate in keystore.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$JAVA_HOME/bin/keytool -genkeypair -alias $(hostname -f) -keyalg RSA -keystore /opt/cloudera/security/pki/$(hostname -f).jks -keysize 2048 -dname "CN=$(hostname -f),OU=Engineering,O=Cloudera,L=Singapore,ST=Singapore,C=Singapore" -ext san=dns:$(hostname -f)&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;sudo $JAVA_HOME/bin/keytool -importcert -alias $(hostname -f) -file /opt/cloudera/security/pki/$(hostname -f).pem -keystore /opt/cloudera/security/pki/$(hostname -f).jks&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5. creating symlinks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo ln -s /opt/cloudera/security/pki/$(hostname -f).pem /opt/cloudera/security/pki/agent.pem

sudo ln -s /opt/cloudera/security/pki/$(hostname -f).jks /opt/cloudera/security/pki/server.jks&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;6. Enabled TLS from Cloudera Manager admin console&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Property Description&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;STRONG&gt;Cloudera Manager TLS/SSL Server JKS Keystore File Location&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD&gt;The complete path to the keystore file. For example:
&lt;PRE&gt;/opt/cloudera/security/pki/server.jks&lt;/PRE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;STRONG&gt;Cloudera Manager TLS/SSL Server JKS Keystore File Password&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD&gt;The password for the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/opt/cloudera/security/jks/server.jks&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;keystore.&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;STRONG&gt;Use TLS Encryption for Admin Console&lt;/STRONG&gt;&lt;/TD&gt;
&lt;TD&gt;Check this box to enable TLS encryption for Cloudera Manager.&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;7. Restart Cloudera Manager server&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cloudera manager starting successfully however I'm not able to open admin console from browser&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;sudo netstat -tulpn | grep 7183
tcp        0      0 0.0.0.0:7183            0.0.0.0:*               LISTEN      4664/java&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://community.cloudera.com/Desktop" border="0" alt="" /&gt;I'm getting below error on browser page&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;This site can’t provide a secure connection 1.1.1.1 uses an unsupported protocol.
ERR_SSL_VERSION_OR_CIPHER_MISMATCH
Unsupported protocol
The client and server don't support a common SSL protocol version or cipher suite.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone please suggest what am I missing here ?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 13:47:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Enabling-TLS-for-Cloudera-Manager-admin-console/m-p/288611#M213752</guid>
      <dc:creator>chhaya_vishwaka</dc:creator>
      <dc:date>2020-01-30T13:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling TLS for Cloudera Manager admin console</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Enabling-TLS-for-Cloudera-Manager-admin-console/m-p/288774#M213851</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/34983"&gt;@chhaya_vishwaka&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The "ERR_SSL_VERSION_OR_CIPHER_MISMATCH" error can happen if a JKS contains multiple certs with similar names.&lt;BR /&gt;Run below command for the keystore&lt;BR /&gt;# keytool -list -keystore server.jks&lt;BR /&gt;The correct cert with be the one with "Entry type: PrivateKeyEntry".&lt;BR /&gt;If you find a certificate with "Entry type: trustedCertEntry" and a similar alias name then that is the problem cert.&lt;/P&gt;&lt;P&gt;Remove this certificate from keystore using below steps:&lt;/P&gt;&lt;P&gt;i) Make a backup of the existing JKS.&lt;BR /&gt;ii) Stop CM&lt;BR /&gt;iii) Remove the cert identified above.&lt;BR /&gt;keytool -delete -alas &amp;lt;cert_alias&amp;gt; -keystore server.jks&lt;BR /&gt;iv) Start CM and test again.&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2020 07:43:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Enabling-TLS-for-Cloudera-Manager-admin-console/m-p/288774#M213851</guid>
      <dc:creator>paras</dc:creator>
      <dc:date>2020-01-31T07:43:46Z</dc:date>
    </item>
    <item>
      <title>Re: Enabling TLS for Cloudera Manager admin console</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Enabling-TLS-for-Cloudera-Manager-admin-console/m-p/289163#M214090</link>
      <description>&lt;P&gt;thanks&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/31607"&gt;@paras&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 09:44:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Enabling-TLS-for-Cloudera-Manager-admin-console/m-p/289163#M214090</guid>
      <dc:creator>chhaya_vishwaka</dc:creator>
      <dc:date>2020-02-05T09:44:25Z</dc:date>
    </item>
  </channel>
</rss>

