[EMAIL PROTECTED] wrote:
> I've an applet that needs to access a servlet (well, actually a jsp page) 
> that requires a client certificate.
> 
> java.net.SocketException: Default SSL context init failed: failed to decrypt 
> safe contents entry: javax.crypto.BadPaddingException: Given final block not 
> properly padded
>       at javax.net.ssl.DefaultSSLSocketFactory.createSocket(Unknown Source)

This indicates that either the server is not implementing SSL correctly.
Or, more likely, that the response is not SSL because the server is not
picking up the SSL handshake and instead replies plain text.
Are there any proxies in the way which you failed to configure for
HttpClient? Connecting to the wrong port? Try enabling the HttpClient
context log, to see what parameters HttpClient uses when establishing
the connection:
http://jakarta.apache.org/commons/httpclient/logging.html

hope that helps,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to