You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Alex (JIRA)" <se...@james.apache.org> on 2010/06/02 14:01:44 UTC

[jira] Created: (JAMES-1012) Can't enable ssl/tls for POP3

Can't enable ssl/tls for POP3
-----------------------------

                 Key: JAMES-1012
                 URL: https://issues.apache.org/jira/browse/JAMES-1012
             Project: JAMES Server
          Issue Type: Bug
    Affects Versions: 3.0
         Environment: Java 1.6.0_20, Windows Vista.
            Reporter: Alex


I am trying to enable POP3 on James-3.0-SNAPSHOT, but when I connect it still is a plain socket.

What I did:

1. Created a keystore
  james-server-spring-deployment-3.0-SNAPSHOT\conf\my.keystore 
with  "secret" as a password..

2. Copied "C:\Program Files\Java\jdk1.6.0_20\jre\lib\ext\sunjce_provider.jar" to
james-server-spring-deployment-3.0-SNAPSHOT\lib\sunjce_provider.jar

3. Changed pop3server.xml:

<pop3server enabled="true">
   <port>995</port>
   <connectionBacklog>200</connectionBacklog>
   <tls socketSSL="true" startTLS="false">
       <keystore>file://conf/my.keystore</keystore>
       <secret>secret</secret>
       <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider>
   </tls>
    ...
</pop3server>

When I run server, I don't see any errors... Also, I see no information that POP3 is using SSL.

When I connect with "putty -telnet localhost -P 995" the response is:
  +OK 192.168.1.4 POP3 server (JAMES POP3 Server 3.0-M1) ready


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (JAMES-1012) Can't enable ssl/tls for POP3

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-1012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-1012.
----------------------------------

    Fix Version/s: 3.0-M1
       Resolution: Fixed

SSL/TLS sockets work now

> Can't enable ssl/tls for POP3
> -----------------------------
>
>                 Key: JAMES-1012
>                 URL: https://issues.apache.org/jira/browse/JAMES-1012
>             Project: JAMES Server
>          Issue Type: Bug
>    Affects Versions: 3.0
>         Environment: Java 1.6.0_20, Windows Vista.
>            Reporter: Alex
>             Fix For: 3.0-M1
>
>
> I am trying to enable POP3 on James-3.0-SNAPSHOT, but when I connect it still is a plain socket.
> What I did:
> 1. Created a keystore
>   james-server-spring-deployment-3.0-SNAPSHOT\conf\my.keystore 
> with  "secret" as a password..
> 2. Copied "C:\Program Files\Java\jdk1.6.0_20\jre\lib\ext\sunjce_provider.jar" to
> james-server-spring-deployment-3.0-SNAPSHOT\lib\sunjce_provider.jar
> 3. Changed pop3server.xml:
> <pop3server enabled="true">
>    <port>995</port>
>    <connectionBacklog>200</connectionBacklog>
>    <tls socketSSL="true" startTLS="false">
>        <keystore>file://conf/my.keystore</keystore>
>        <secret>secret</secret>
>        <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider>
>    </tls>
>     ...
> </pop3server>
> When I run server, I don't see any errors... Also, I see no information that POP3 is using SSL.
> When I connect with "putty -telnet localhost -P 995" the response is:
>   +OK 192.168.1.4 POP3 server (JAMES POP3 Server 3.0-M1) ready

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org