<?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>topic Re: How to connect to MySQL using SSL? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-connect-to-mysql-using-ssl/m-p/104061#M29545</link>
    <description>&lt;P&gt;OK, I found the answer to my own question. You need to add `useSSL=true` to the connection string.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;JAVA_OPTS="... -Ddb.url=\"jdbc:mariadb://$host:$port/$dbname?autoReconnect=true&amp;amp;useUnicode=true&amp;amp;characterEncoding=UTF-8&amp;amp;useSSL=true\" ..."&lt;/P&gt;</description>
    <pubDate>Thu, 20 Aug 2020 08:48:47 GMT</pubDate>
    <dc:creator>fabrice7</dc:creator>
    <dc:date>2020-08-20T08:48:47Z</dc:date>
    <item>
      <title>How to connect to MySQL using SSL?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-connect-to-mysql-using-ssl/m-p/104060#M29544</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using Alfresco Repository CE with a MariaDB server. I am building my own Docker image based on:&lt;/P&gt;&lt;P&gt;&lt;A href="https://hub.docker.com/r/alfresco/alfresco-content-repository-community" target="_blank" rel="noopener nofollow noreferrer"&gt;https://hub.docker.com/r/alfresco/alfresco-content-repository-community&lt;/A&gt;&lt;/P&gt;&lt;P&gt;mostly by adding the MySQL connector available here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://downloads.mariadb.com/Connectors/java/connector-java-2.2.5/mariadb-java-client-2.2.5.jar" target="_blank" rel="noopener nofollow noreferrer"&gt;https://downloads.mariadb.com/Connectors/java/connector-java-2.2.5/mariadb-java-client-2.2.5.jar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I noticed Alfresco can connect to the MariaDB server using an unencrypted connection, but if I require the MariaDB user to use SSL, Alfresco can't connect to MariaDB anymore.&lt;/P&gt;&lt;P&gt;Is it possible to configure Alfresco/MariaDB connector to use SSL to connect to the MariaDB server?&lt;/P&gt;&lt;P&gt;Many thanks for any help!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 07:56:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-connect-to-mysql-using-ssl/m-p/104060#M29544</guid>
      <dc:creator>fabrice7</dc:creator>
      <dc:date>2020-08-20T07:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to MySQL using SSL?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-connect-to-mysql-using-ssl/m-p/104061#M29545</link>
      <description>&lt;P&gt;OK, I found the answer to my own question. You need to add `useSSL=true` to the connection string.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;JAVA_OPTS="... -Ddb.url=\"jdbc:mariadb://$host:$port/$dbname?autoReconnect=true&amp;amp;useUnicode=true&amp;amp;characterEncoding=UTF-8&amp;amp;useSSL=true\" ..."&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 08:48:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-connect-to-mysql-using-ssl/m-p/104061#M29545</guid>
      <dc:creator>fabrice7</dc:creator>
      <dc:date>2020-08-20T08:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to connect to MySQL using SSL?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-connect-to-mysql-using-ssl/m-p/104062#M29546</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/81742"&gt;@fabrice7&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Great that you found the solution &amp;amp; thanks for updating us on how you did it - really useful to other users.&lt;/P&gt;
&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Aug 2020 10:11:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-connect-to-mysql-using-ssl/m-p/104062#M29546</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-08-24T10:11:41Z</dc:date>
    </item>
  </channel>
</rss>

