Register / Login
File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
IDEs, Version Control and other tools
Enabling SSL in netbeans
posted 10 years ago
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
-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
Cannot install ROOT certificate
2-way ssl not working: bad certificate
Error Mutual Certificates Security
weblogic 8.1 SSL configuration.
SSL WebService using AXIS