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 Michael Valenty <mi...@valenty.com> on 2007/05/30 20:04:55 UTC

Re: UsersRepository w/ SSL SOAP service - fixed

I don't remember where I found this, but it works now!!!

With JRE 1.5.n you must copy the Sun JCE provider from {Program
Files}\Java\j2re1.5.n_nn\lib\ext\sunjce_provider.jar file into the
{james}\lib directory (warning: not in the {james}\apps\james\SAR-INF\lib
directory!). The Bouncy Castle bcprov*.jar won't make it.


Michael Valenty wrote:
> 
> I am running James 2.3.1 and JDK 1.5.0_11. While attempting to invoke an
> ssl web service from MyUsersRepository to authenticate user credentials, I
> get the following error:
> 
> javax.net.ssl.SSLKeyException: RSA premaster secret error
> 
> I do not get this error when calling the web service from a test client,
> only in the context of MyUsersRepository.
> 

-- 
View this message in context: http://www.nabble.com/UsersRepository-w--SSL-SOAP-service-tf3813480.html#a10879339
Sent from the James - Dev mailing list archive at Nabble.com.


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


Re: UsersRepository w/ SSL SOAP service - fixed

Posted by Stefano Bagnara <ap...@bago.org>.
Michael Valenty ha scritto:
> I don't remember where I found this, but it works now!!!
> 
> With JRE 1.5.n you must copy the Sun JCE provider from {Program
> Files}\Java\j2re1.5.n_nn\lib\ext\sunjce_provider.jar file into the
> {james}\lib directory (warning: not in the {james}\apps\james\SAR-INF\lib
> directory!). The Bouncy Castle bcprov*.jar won't make it.

Than you for the feedback!
This will be very useful to other users searching the archives in future!

Stefano

> Michael Valenty wrote:
>> I am running James 2.3.1 and JDK 1.5.0_11. While attempting to invoke an
>> ssl web service from MyUsersRepository to authenticate user credentials, I
>> get the following error:
>>
>> javax.net.ssl.SSLKeyException: RSA premaster secret error
>>
>> I do not get this error when calling the web service from a test client,
>> only in the context of MyUsersRepository.
>>
> 



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