You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Tiphaine Dalmas <ti...@aethys.com> on 2009/08/29 03:00:10 UTC

James 2.3.1 + sunjce + bc

Hi all,

I'm running James 2.3.1 with SSL and SMIMESign (jdk1.6).

I have:
james/lib/sunjce_provider.jar
james/lib/bcprov-jdk16-143.jar

On the dev machine, the 2 work together very well. Though I did have a 
bit of a struggle with the Mozilla error re-SSL handshake. But 
everything works just fine now. Both SSL and server sig.

On the server, I get a client Mozilla error, SSL handshake error with 
matching exception in the POP3 log. If I remove SMIME and bcprov from 
james/lib, I get SSL to work properly. But then I can't sign messages.

Maybe it's a bit late in the night, but I can't see what's different 
from one machine to the other. Very similar config, same jdk, same 
james, same code. I'm not sure what I could have done any different on 
the dev machine.

I'm guessing there is some kind of conflict going on between sunjce and 
bc, eg bc is taking over for SSL?  Which would make sense reading around 
the Mozilla issue/sunjce requirement. But then I don't know how I 
managed to get it working on the dev machine.

Anybody has had a similar issue?

Thanks!
Tiphaine


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


Re: James 2.3.1 + sunjce + bc

Posted by Tiphaine Dalmas <ti...@aethys.com>.
Well, I fixed the issue on the server by re-compiling everything with 
java 1.5 (using 1.5 sunjce, and corresponding 1.5 bc libs).

I have no clue as to what's going on exactly since the apps works fine 
with 1.6 on the dev machine. But well.

Tiphaine

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