SSL support for Java
Posted on 2000-02-06
Bascially my problem is like this, I have an applet which needs to call a cgi
script on the server, now everything is working alright, except that I need to
secure the data transfer between the applet and the cgi script. I can setup a SSL module on the server side, which is in fact a RedHat with Apache. The CGI
script is written in C, and I'd had a hard time implementing a decryption
module on the server side, therefore I decide to use normal HTTPS protocol to speed things up.
So do you know any SSL package in java that you HAVE USED and is good enough to solve my problem?
I've looked around the web for such a package, and found Icesoft's package is for this purpose. But when I tried it, I always get "IOExeception: This certificate has expired." error. I don't know whether this is related to their product bugs or anything else. I tried to contact their tech support, but got no reply at all, and now I am turning away from them. I don't know much about this "certificate" stuff, so if you would give me some pointers why I got this error, I greatly appreciate it.
My basic requirement about such a package is like this:
1)it'd be best for it to be able to compile under JDK1.0.2 since my applet is developed under this version.
2)The size of the package should be as small as possible, it'd be best not larger than around 20K.
3)the package should either provide a pure SSLSocket class or more better with a HTTPSURLConnection class, or something like this.
If you've done any projects like this kind, please give me some help.
Thanks in advance.