james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Bagnara (JIRA)" <server-...@james.apache.org>
Subject [jira] Created: (JAMES-458) SSL not working in James 2.3.0a1
Date Wed, 22 Mar 2006 19:51:08 GMT
SSL not working in James 2.3.0a1
--------------------------------

         Key: JAMES-458
         URL: http://issues.apache.org/jira/browse/JAMES-458
     Project: James
        Type: Bug
  Components: James Core  
    Versions: 2.3.0a1    
    Reporter: Stefano Bagnara
 Assigned to: Stefano Bagnara 


I'm currently running James 2.2.0 with pop3-tls and smtp-tls.
Everything works great and I'm very happy with it.

I've tried to install the James 2.3.0a1 snapshot. Everything ok until I try to enable
the ssl-configuration.

I enable ssl as described at: http://wiki.apache.org/james/UsingSSL

When I use:
---
<factory name="ssl"
      class="org.apache.avalon.cornerstone.blocks.sockets.TLSServerSocketFactory">
 <ssl-factory>
     <keystore>
         <file>conf/keystore</file>
         <password>secret</password>
         <key-password>keysecret</key-password>
         <type>JKS</type>
         <protocol>TLS</protocol>
         <algorithm>SunX509</algorithm>
         <authenticate-client>false</authenticate-client>
     </keystore>
 </ssl-factory>
</factory>
---
- I get "element "ssl-factory" was found where no element may occur" In Phoenix log (along
with a lot of related errors (see below)).

When I use:
---
<factory name="ssl"
      class="org.apache.avalon.cornerstone.blocks.sockets.TLSServerSocketFactory">
 <keystore>
     <file>conf/keystore</file>
     <password>secret</password>
     <type>JKS</type>
     <protocol>TLS</protocol>
     <algorithm>SunX509</algorithm>
     <authenticate-client>false</authenticate-client>
 </keystore>
</factory>
---
(the old model?) I get the same error but with "element "keystore" was found...

Anyone out there with a working ssl-config for 2.3.0a1?

Please find attached phoenix.log and stack trace from cli starup. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message