<?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: Cloudera 6.3 MySql 5.7 SSL Warning in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-6-3-MySql-5-7-SSL-Warning/m-p/317223#M227067</link>
    <description>&lt;P&gt;I was able to use Ansible to append these additional two lines to the existing db.properties file on Manger, from Director. This was done as the last step in the cluster build.&lt;/P&gt;</description>
    <pubDate>Thu, 27 May 2021 08:20:48 GMT</pubDate>
    <dc:creator>sweeny_here</dc:creator>
    <dc:date>2021-05-27T08:20:48Z</dc:date>
    <item>
      <title>Cloudera 6.3 MySql 5.7 SSL Warning</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-6-3-MySql-5-7-SSL-Warning/m-p/316592#M226849</link>
      <description>&lt;P&gt;Hello - Cloudera Manager is returning the following warning when connecting to MySql hosted in AWS RDS. How can this warning be resolved / suppressed?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log Warning:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;May 17 12:15:48 ip-10-179-61-80 cm-server[23717]: Mon May 17 12:15:48 BST 2021 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL SSby setting useSSL=false, or set useSSL=true and provide&lt;/P&gt;&lt;P&gt;truststore for server certificate verification&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OS Type:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@ip-10-179-61-233 ~]# cat /etc/redhat-release&lt;BR /&gt;Red Hat Enterprise Linux Server release 7.9 (Maipo)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cloudera Binaries:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@ip-10-179-61-233 ~]# rpm -qa | grep cloudera&lt;BR /&gt;cloudera-manager-daemons-6.3.1-1466458.el7.x86_64&lt;/P&gt;&lt;P&gt;cloudera-manager-agent-6.3.1-1466458.el7.x86_64&lt;BR /&gt;cloudera-manager-server-6.3.1-1466458.el7.x86_64&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SCM Config:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@ip-10-179-61-233 ~]# egrep -v "^#|^$" /etc/cloudera-scm-server/db.properties&lt;BR /&gt;com.cloudera.cmf.db.type=mysql&lt;BR /&gt;com.cloudera.cmf.db.host=foo.123.eu-west-2.rds.amazonaws.com:3306&lt;BR /&gt;com.cloudera.cmf.db.name=scm_123&lt;BR /&gt;com.cloudera.cmf.db.user=scmu_123&lt;BR /&gt;com.cloudera.cmf.db.password=123&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 10:11:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-6-3-MySql-5-7-SSL-Warning/m-p/316592#M226849</guid>
      <dc:creator>sweeny_here</dc:creator>
      <dc:date>2021-05-18T10:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera 6.3 MySql 5.7 SSL Warning</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-6-3-MySql-5-7-SSL-Warning/m-p/316597#M226853</link>
      <description>&lt;P&gt;I've tried updating the db.properties file on Manager to enforce SSL, as seen below, but the warning message is persisting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[root@ip-10-179-61-233 ~]# egrep -v "^#|^$" /etc/cloudera-scm-server/db.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.cloudera.cmf.db.type=mysql&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.cloudera.cmf.db.host=foo.123.eu-west-2.rds.amazonaws.com:3306&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.cloudera.cmf.db.name=scm_123&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.cloudera.cmf.db.user=scmu_123&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;com.cloudera.cmf.db.password=123&lt;/SPAN&gt;&lt;BR /&gt;com.cloudera.cmf.db.useSSL=true&lt;BR /&gt;com.cloudera.cmf.db.verifyServerCertificate=true&lt;BR /&gt;com.cloudera.cmf.db.trustCertificateKeyStoreUrl=file:/usr/java/jdk1.8.0_121-cloudera/jre/lib/security/jssecacerts&lt;BR /&gt;com.cloudera.cmf.db.trustCertificateKeyStoreType=JKS&lt;BR /&gt;com.cloudera.cmf.db.trustCertificateKeyStorePassword=changeit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 13:01:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-6-3-MySql-5-7-SSL-Warning/m-p/316597#M226853</guid>
      <dc:creator>sweeny_here</dc:creator>
      <dc:date>2021-05-18T13:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera 6.3 MySql 5.7 SSL Warning</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-6-3-MySql-5-7-SSL-Warning/m-p/316712#M226879</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/88686"&gt;@sweeny_here&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You may skip the SSL check from the MySQL DB. To do so, below are the steps:&lt;/P&gt;&lt;P&gt;1. Stop the CM server&lt;/P&gt;&lt;P&gt;2. Set the property in MySQL config&amp;nbsp;(my.cnf) file as below&lt;/P&gt;&lt;PRE&gt;[mysql]
...&lt;BR /&gt;...
skip_ssl
...
...&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;3. Restart mysqld and CM Server.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, please make sure to disable SSL in the CM db.properties file as below&lt;/P&gt;&lt;PRE&gt;# you can set the &amp;amp;useSSL=false in the db.properties
com.cloudera.cmf.db.type=mysql
com.cloudera.cmf.orm.hibernate.connection.driver_class=com.mysql.jdbc.Driver
com.cloudera.cmf.orm.hibernate.connection.url=jdbc:mysql://&amp;lt;mysql-host&amp;gt;/&amp;lt;database&amp;gt;?useUnicode=true&amp;amp;characterEncoding=UTF-8&amp;amp;useSSL=false
com.cloudera.cmf.db.name=&amp;lt;database&amp;gt;
com.cloudera.cmf.db.user=&amp;lt;CM-Mysql-user&amp;gt;
com.cloudera.cmf.db.setupType=EXTERNAL
com.cloudera.cmf.db.password=&amp;lt;password&amp;gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Let me know if this helps!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P class="p1"&gt;&lt;I&gt;Was your question answered? Make sure to mark the answer as the accepted solution.&lt;/I&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;I&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 13:04:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-6-3-MySql-5-7-SSL-Warning/m-p/316712#M226879</guid>
      <dc:creator>tjangid</dc:creator>
      <dc:date>2021-05-19T13:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera 6.3 MySql 5.7 SSL Warning</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-6-3-MySql-5-7-SSL-Warning/m-p/316917#M226944</link>
      <description>&lt;P&gt;Hi - thanks for your suggestion, it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since MySql is not running locally (AWS RDS), there was no need to edit the my.conf file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I understand the db.properties file is currently automatically created by Director during the cluster build process and placed onto Manager.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It there a way to automate the db.properties file so these extra two lines are appended to it?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;com.cloudera.cmf.orm.hibernate.connection.driver_class=com.mysql.jdbc.Driver
com.cloudera.cmf.orm.hibernate.connection.url=jdbc:mysql://&amp;lt;mysql-host&amp;gt;/&amp;lt;database&amp;gt;?useUnicode=true&amp;amp;characterEncoding=UTF-8&amp;amp;useSSL=false&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Theo&lt;/P&gt;</description>
      <pubDate>Fri, 21 May 2021 14:28:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-6-3-MySql-5-7-SSL-Warning/m-p/316917#M226944</guid>
      <dc:creator>sweeny_here</dc:creator>
      <dc:date>2021-05-21T14:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera 6.3 MySql 5.7 SSL Warning</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-6-3-MySql-5-7-SSL-Warning/m-p/317223#M227067</link>
      <description>&lt;P&gt;I was able to use Ansible to append these additional two lines to the existing db.properties file on Manger, from Director. This was done as the last step in the cluster build.&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 08:20:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-6-3-MySql-5-7-SSL-Warning/m-p/317223#M227067</guid>
      <dc:creator>sweeny_here</dc:creator>
      <dc:date>2021-05-27T08:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cloudera 6.3 MySql 5.7 SSL Warning</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Cloudera-6-3-MySql-5-7-SSL-Warning/m-p/321677#M228516</link>
      <description>After openjdk 1.8.0.292 install we had to fix the mysql scm database ssl connection issue using the property useSSL=false like&lt;BR /&gt;com.cloudera.cmf.orm.hibernate.connection.url=jdbc:mysql://&amp;lt;mysql-host&amp;gt;/scm?useUnicode=true&amp;amp;characterEncoding=UTF-8&amp;amp;useSSL=false&lt;BR /&gt;&lt;BR /&gt;Now same ssl connection issue is happening for nav, navms, amon, rman databases and these components wont start.&lt;BR /&gt;Can we set the useSSL for these databases also in /etc/cloudera-scm-server/db.properties file like below:&lt;BR /&gt;&lt;BR /&gt;com.cloudera.cmf.orm.hibernate.connection.url=jdbc:mysql://localhost/nav?useUnicode=true&amp;amp;characterEncoding=UTF-8&amp;amp;useSSL=false&lt;BR /&gt;com.cloudera.cmf.orm.hibernate.connection.url=jdbc:mysql://localhost/navms?useUnicode=true&amp;amp;characterEncoding=UTF-8&amp;amp;useSSL=false&lt;BR /&gt;com.cloudera.cmf.orm.hibernate.connection.url=jdbc:mysql://localhost/rman?useUnicode=true&amp;amp;characterEncoding=UTF-8&amp;amp;useSSL=false&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jul 2021 14:43:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Cloudera-6-3-MySql-5-7-SSL-Warning/m-p/321677#M228516</guid>
      <dc:creator>ebeb</dc:creator>
      <dc:date>2021-07-28T14:43:12Z</dc:date>
    </item>
  </channel>
</rss>

