Re: public folder SSL Enabled



Hello,

with .NET, one can override the default behavior of the HttpWebRequest class.

I don't know if there is a way to do this with Java.

To get that working with a specific certificate, you must get the certificate (with IE for example - click on the certificate details and click export on the root certificate. This certificate must then be either installed in the Internet Explorer Trusted root certificate store or in similar place in the Java environment).

Best regards,
Henning Krause

"jeff" <jeff@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:5D277D21-68BE-4FCD-B390-FA4CD7DE6D2E@xxxxxxxxxxxxxxxx
Hi,ALL

I am Java user.
One of my customer's public folder is ssl enabled.

So when I use Java httpclient to build a connection with the public folder.

https://server/public

It throws and exception:

javax.net.ssl.SSLHandshakeException:
sun.security.validator.ValidatorException: No trusted certificate found

The question is:

Have I to get a client certificate from Server?
I want to do like IE, when I browser public folder with ssl enabled.
It will pop up a dialog to ask you to trust or not.

How to implement this ?

Thanks.



.



Relevant Pages

  • Re: HTTPS web service connection errors
    ... Last week the hosts of the web service installed a new signed ... As soon as they installed the new certificate, ... Java web app stopped working. ... your Java installation does not have the key to validate it. ...
    (comp.lang.java.programmer)
  • Re: How to exchange certificate ?
    ... Note that the emphasis in CryptoAPI is on CMS/PKCS#7 Enveloped Data ... Are you specifying the correct certificate and store of the recipient after ... If you want to compare with Java you should really be comparing Java against ... > this certificate to be able to use it to encrypt a message back. ...
    (microsoft.public.platformsdk.security)
  • Re: This certificate is Invalid
    ... grant/accept to give it permission to set your pc's hardware clock. ... Even if Java Web Start complains that the certificate used to sign ... you can get thawte email certificate for free. ...
    (comp.lang.java.advocacy)
  • Re: JDBC + SSL = "No trusted certificate found" (RESOLVED)
    ... Convinced that there was no problem on the Java side, ... SSL-enabled mysql server at home where I could manipulate the ... The common name in the SQL certificate must be a fully-qualified ... JDBC connection statement, ...
    (comp.lang.java.databases)
  • Help: How to install a certificate in Java that works with verisign?
    ... I have a java program that connects to a https site ... main, SEND SSL v3.0 ALERT: ... how can I find the correct certificate and export it from IE ...
    (comp.lang.java.programmer)