• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

Enabling SSL in netbeans

 
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.
 
a wee bit from the empire
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!