File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Enabling SSL in netbeans

 
Manzar Zaidi
Ranch Hand
Posts: 43
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic