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. Thanks Man!! Been searching for a simple one like
View Tutorial By: Kid at 2012-10-12 14:15:43
2. thanks for this tutorial
View Tutorial By: d3ptzz at 2009-08-03 23:38:57
3. i added respective code to the Manifest in every c
View Tutorial By: niko at 2013-04-19 18:23:41
4. Please, send me a working JSP version ,i got error
View Tutorial By: Pang at 2008-01-11 00:01:52
5. i need help in java
View Tutorial By: arjun tanwar at 2010-02-17 20:58:55
6. my requirement is i have a source string as src{&q
View Tutorial By: Anil at 2014-10-27 08:36:23
7. we are getting an error saying that " the sta
View Tutorial By: chaitra at 2014-03-20 10:53:02
8. thank you so much i learn from your tutorial i wis
View Tutorial By: Anonymous at 2009-01-03 20:08:41
9. how to solve this while i am running the code it
View Tutorial By: nikhilmuddasani at 2009-07-23 04:32:31
10. it 's great
View Tutorial By: tanawat bhtk at 2008-03-19 22:17:53