<?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 Desktop Sync SSL: peer not authenticated in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/desktop-sync-ssl-peer-not-authenticated/m-p/294836#M247966</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Environment:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Client: Windows 7 64bit, Alfresco Desktop Sync 1.0.0.1 64bit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Server: Ubuntu Server 12.04, Tomcat 6, Alfresco 4.2.c; Access through Apache2.2 with mod_jk, SSL self signed CA-certificate (X.509)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using the Alfresco Community Edition and can access all services ssl-encrypted through Webbrowser (including the webdav-service). But when I want to sync with Alfresco Destkop Sync I'm able to connect through Apache with SSL disabled (port 80), but not whenn SSL enabled. In the logs appears an error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;13:25:53.703 INFO&amp;nbsp; AlfrescoSyncClient - ———-Alfresco Sync Started———- &lt;BR /&gt;13:25:53.718 DEBUG SyncManager - exceptions loaded: {^~.*=IGNORE, ^\..*=IGNORE, Microsoft User Data=IGNORE, ^.*\.(iso|exe|app|tmp|TMP)$=IGNORE, Thumbs.db=IGNORE, About Stacks.lpdf=IGNORE} &lt;BR /&gt;13:26:11.984 DEBUG RemoteFileStore - Cloud: Test Connection &lt;BR /&gt;13:26:13.843 ERROR RemoteFileStore - Cannot connect to webdav [&lt;A href="https://mydomain.de/alfresco/" rel="nofollow noopener noreferrer"&gt;https://mydomain.de/alfresco/&lt;/A&gt;] &lt;BR /&gt;13:26:13.843 ERROR RemoteFileStore - javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated &lt;BR /&gt;13:26:13.843 ERROR RemoteFileStore - Cloud: Invalid credentials &lt;BR /&gt;13:26:39.015 INFO&amp;nbsp; SystemTrayIcon - ———-Alfresco Sync Quit———-&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is an problem with Apache http client (see here: &amp;lt;a&amp;gt;&lt;/SPAN&gt;&lt;A href="http://javaskeleton.blogspot.de/2010/07/avoiding-peer-not-authenticated-with.html" rel="nofollow noopener noreferrer"&gt;http://javaskeleton.blogspot.de/2010/07/avoiding-peer-not-authenticated-with.html&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/a&amp;gt;). One soultion from google search results says, that I can import my CA-certificate to the trusted cacerts in JRE. So I tried to import it into&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;PATH:&amp;lt;ALFRESCO_SYNC_CLIENT&amp;gt;/runtime/jre/lib/security/cacerts&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with the java keytool&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;keytool -import -alias customcacert -keystore cacerts -file myCAfile.cer&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;but I had no luck. Also I tried to import the Cacert into the systems JRE truststore, also no luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my question is, are there a generic problem with self-signed certificates and the Alfresco Desktop Sync Client? How can I solve it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for help…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jul 2013 08:00:48 GMT</pubDate>
    <dc:creator>djaevla2</dc:creator>
    <dc:date>2013-07-03T08:00:48Z</dc:date>
    <item>
      <title>Desktop Sync SSL: peer not authenticated</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/desktop-sync-ssl-peer-not-authenticated/m-p/294836#M247966</link>
      <description>Environment:Client: Windows 7 64bit, Alfresco Desktop Sync 1.0.0.1 64bitServer: Ubuntu Server 12.04, Tomcat 6, Alfresco 4.2.c; Access through Apache2.2 with mod_jk, SSL self signed CA-certificate (X.509)°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°Hi,I'm using the Alfresco Community Edition and can access all ser</description>
      <pubDate>Wed, 03 Jul 2013 08:00:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/desktop-sync-ssl-peer-not-authenticated/m-p/294836#M247966</guid>
      <dc:creator>djaevla2</dc:creator>
      <dc:date>2013-07-03T08:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Desktop Sync SSL: peer not authenticated</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/desktop-sync-ssl-peer-not-authenticated/m-p/294837#M247967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hello again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I setup tomcat over SSL with my self-signed certificate on port 8443 and then Desktop Sync worked. So I think this is a problem with the ajp-connector (mod_jk in apache2). Has anybody an idea to solve this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 09:07:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/desktop-sync-ssl-peer-not-authenticated/m-p/294837#M247967</guid>
      <dc:creator>djaevla2</dc:creator>
      <dc:date>2013-07-08T09:07:00Z</dc:date>
    </item>
  </channel>
</rss>

