Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Java and HTTPS

Status
Not open for further replies.

dvrobin

Programmer
Jun 4, 2001
40
US
I have a web application that uses a third party Java GUI for administration. The application is on a Windows NT 4 machine running IIS 4. The application is encrypted with SSL. The Java GUI is not able to access the site when the SSL is enabled, but it works fine when the SSL is disabled.

To make matters worse, the application also has a web-based applet that can be used for administration. The applet doesn't have any problems with the SSL. I have been told by the vendor's support that the problem is with Java somewhere. I've been told that I need to somehow let the JRE know about the certificate on the server. I've read a bit about the keytool utility, but I haven't been able to come up with a real solution. Any help would be appreciated.

Dave Robinder, MCSD
 
You need to use the optional package "java secure socket
extension"
As I recall you need to set the stream handler factory
at the beginning of your app. (See instructions with
package) Without this your app will choke on any
addresses when you open a URLConnection
throwing a malformed url exception.

It's easy to use. Download it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top