File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Enabling SSL in netbeans" Watch "Enabling SSL in netbeans" New topic

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
I agree. Here's the link:
subject: Enabling SSL in netbeans
jQuery in Action, 3rd edition