This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Enabling SSL in netbeans

 
Manzar Zaidi
Ranch Hand
Posts: 43
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic