Comment on Tutorial - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target By Ramlak
Comment Added by : gopala krishna
Comment Added at : 2012-04-02 07:17:09
Comment on Tutorial : javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target By Ramlak
Unable to connect with https:\\localhost:8443 but i can with 8080
My Enviroment is :
Java: C:\Program Files\Java\jdk1.6.0\bin
Tomcat : D:\Apache Software Foundation\Tomcat 6.0
Generating the KeyStore file
C:\Program Files\Java\jdk1.6.0\bin
keytool -genkey -alias techtracer -keypass ttadmin -keystore techtracer.bin -storepass ttadmin
Configured Tomcat for using the Keystore file
1. My http port no :
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
2. . Put the techtracer.bin file in the webapps directory of Tomcat
3. Configured Https Port
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="../webapps/techtracer.bin" keystorePass="ttadmin" />
I started the server with http://localhost:8080
Its working fine
But while its not working fine with https://localhost:8443
plz help me out
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Java program to get location meta data from an image
Program using concept of byte long short and int in java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
Archived Comments
1. ""this"" is a implicit keyword
View Tutorial By: Gangireddy at 2012-02-15 08:35:18
2. Very well Explained Thank you Hog .
View Tutorial By: Asad at 2010-08-10 23:59:29
3. Very nice one, it really helps me. Thank you very
View Tutorial By: eky1412 at 2012-09-10 03:45:07
4. Hi,
Just wonder if there is a way t
View Tutorial By: Bank at 2007-12-18 04:30:26
5. I used two phrases of the security section for the
View Tutorial By: pabo at 2010-04-05 05:22:24
6. This tutorial is really fantastic.It helped me a l
View Tutorial By: Rakesh Verma at 2008-06-25 13:25:23
7. i want a java code to make a GUI in netbeans and s
View Tutorial By: siddharth at 2012-03-17 09:59:59
8. Hello guys, the code above is the full complete co
View Tutorial By: Dalma at 2012-10-03 02:50:33
9. thank you
well explained
View Tutorial By: Alexandre Ogrodovski at 2012-12-10 21:13:37
10. I entered four different objects into an ArrayList
View Tutorial By: ADC at 2010-02-25 18:43:32