<?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 IMAPS Konfiguration in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/imaps-konfiguration/m-p/289600#M242730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to configure IMAPS and therefore changed the settings in alfresco-global.properties:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;imap.server.enabled=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;imap.server.host=myhost&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;imap.server.port=8143&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;imap.server.imaps.enabled=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;imap.server.imaps.port=8993&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;javax.net.ssl.keyStore=/path/to/keystore/keystore.jks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;javax.net.ssl.keyStorePassword=password&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco starts up fine and gives the following entries in the log:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2016-03-10 11:50:13,191&amp;nbsp; INFO&amp;nbsp; [repo.imap.AlfrescoImapServer] [localhost-startStop-1] IMAP service started on host&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ort lvgintew01t.sozvers.at:8143&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2016-03-10 11:50:13,195&amp;nbsp; INFO&amp;nbsp; [repo.imap.AlfrescoImapServer] [localhost-startStop-1] IMAPS service started on host&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ort lvgintew01t.sozvers.at:8993&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;IMAP on Port 8143 works fine, unfortunately i have to use IMAPS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With IMAPS i am unable to get a connection, so far i tracked it down to a certificate issues. When i try to open a connection with openssl it gives the following infos:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;openssl s_client -connect myhost:8993&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CONNECTED(00000003)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;139931021690696:error:14077410&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://connect.hyland.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;SL routines&lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://connect.hyland.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;SL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:744:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;—&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;no peer certificate available&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;—&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;No client certificate CA names sent&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;—&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SSL handshake has read 7 bytes and written 249 bytes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;—&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;New, (NONE), Cipher is (NONE)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Secure Renegotiation IS NOT supported&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Compression: NONE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Expansion: NONE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;—&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As far as i unterstand this means, that the server does not present a certificate, so no ssl connection can be established.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone suceeded in setting up the IMAPS protocol or can give me some information on how to achieve this? Could this be based on a wrong configured keystore?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Uwe&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Mar 2016 12:05:53 GMT</pubDate>
    <dc:creator>uwe_wolfinger</dc:creator>
    <dc:date>2016-03-10T12:05:53Z</dc:date>
    <item>
      <title>IMAPS Konfiguration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/imaps-konfiguration/m-p/289600#M242730</link>
      <description>I am trying to configure IMAPS and therefore changed the settings in alfresco-global.properties:imap.server.enabled=trueimap.server.host=myhostimap.server.port=8143imap.server.imaps.enabled=trueimap.server.imaps.port=8993javax.net.ssl.keyStore=/path/to/keystore/keystore.jksjavax.net.ssl.keyStorePass</description>
      <pubDate>Thu, 10 Mar 2016 12:05:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/imaps-konfiguration/m-p/289600#M242730</guid>
      <dc:creator>uwe_wolfinger</dc:creator>
      <dc:date>2016-03-10T12:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: IMAPS Konfiguration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/imaps-konfiguration/m-p/289601#M242731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;for whatever reason (shortsighted-ness), the IMAPS server functionality uses Java system properties instead of configured properties from alfresco-global.properties (or the subsystem properties files) to configure the keystore for the certificate. This is mentioned in comments within the default imap-server.properties file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to set javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword via -D start parameters to provide the server certificate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 09:07:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/imaps-konfiguration/m-p/289601#M242731</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-03-11T09:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: IMAPS Konfiguration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/imaps-konfiguration/m-p/289602#M242732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried it now with setting the keystore as a java system property, unfortunately the result is the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the keystore: what i did here is importing the ssl certificate of the server into the keystore. Is this the proper way, or does alfresco need a certain certificate in order to work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Uwe&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 09:31:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/imaps-konfiguration/m-p/289602#M242732</guid>
      <dc:creator>uwe_wolfinger</dc:creator>
      <dc:date>2016-03-11T09:31:00Z</dc:date>
    </item>
    <item>
      <title>Re: IMAPS Konfiguration</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/imaps-konfiguration/m-p/289603#M242733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Meanwhile i was able to find the problem - after creating a new keystore with a new key i am now able to connect over IMAPS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 05:19:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/imaps-konfiguration/m-p/289603#M242733</guid>
      <dc:creator>uwe_wolfinger</dc:creator>
      <dc:date>2016-03-14T05:19:03Z</dc:date>
    </item>
  </channel>
</rss>

