HTTPS PROGRAM(I have post it on Other..forum)

Hi

For me, it is pretty new to Java Security.

So, I want all you guys to give me some suggestion or advice.

First, Let me introduce my background.

I have an application to connect with some site by using http or https.

Currently, HTTP works good.

About HTTPS ,

I know that there is certification files is saved on Server.

and I should get this certification file and import to my Java Application.

And I should use Keytool to save it to KeyStore.

however, it is too complicated for use to use.

What I want to do is: how to automatically download from server and

save it to KeyStore, Just like IE Browser, when User import http,

It will check server type if it is protected or not.

if it is protected, It will automatically download certification and save to keystore and do self-versign on APP.

Please give me some advice or hint or link or what ever on Java Security.

Thanks in advanced.

[992 byte] By [lvguangchuana] at [2007-11-26 12:57:51]
# 1
You don't have to do that, as by default client authenticates the server. The server authenticating client is optional and is not done in case of browsers.
AjaySingh516a at 2007-7-7 16:54:40 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...
# 2

I sorry,

What you mean is that I can directory use

https//...... to connect the server.

In fact, what I want to build a connection with Exchange Public folder

via webDAV protocol.

and the Exchange server has been set SSL and use authentication.

So I have to import a certificated file to my app.

Thanks

lvguangchuana at 2007-7-7 16:54:40 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...