wood burning stoves*
The moose likes IDEs, Version Control and other tools and the fly likes Enabling SSL in netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Enabling SSL in netbeans" Watch "Enabling SSL in netbeans" New topic
Author

Enabling SSL in netbeans

Manzar Zaidi
Ranch Hand

Joined: Oct 21, 2004
Posts: 43
I tried to use CONFIDENTIAL transport gurantee and I find that I cant view the pages ( https running , but I dont know what missing)

I generated a keystore using keytool.

%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA -keypass changeit -storepass changeit -keystore keystore.jks


%JAVA_HOME%\bin\keytool -export -alias tomcat -storepass changeit -file server.cer -keystore keystore.jks

%JAVA_HOME%\bin\keytool -import -v -trustcacerts -alias tomcat -file server.cer -keystore cacerts.jks -keypass changeit -storepass changeit

Updated server.xml to have the connector for SSL out of comments, entering a path for the keystore, but still cant see the SSL pages.

Its not just my app, as I try to access SSL server's root..I get connection refused.

Could you please guide what else I need to do ?
Or if it would be easier to do it using some other tool.


SCJP 1.2, SCWCD 1.4.<br />What goes around comes around ... with ver 1.1
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Enabling SSL in netbeans
 
Similar Threads
weblogic 8.1 SSL configuration.
Cannot install ROOT certificate
SSL WebService using AXIS
2-way ssl not working: bad certificate
Error Mutual Certificates Security