Win a copy of JDBC Workbook this week in the JDBC and Relational Databases forum
or A Day in Code in the A Day in Code forum!
  • 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Tomcat SSL configuration

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a tomcat 7.0.54 server, deployed two application on it and Wildcard SSL certificate installed successfully. I am able to access my application using HTTPS. Now issue is that when my app1 is trying to access app2 using HTTPS request following exception found in log file.
Need help to resolve this issue.


Thanks,
Kandarp Bhatt
 
Saloon Keeper
Posts: 22104
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target



The most likely cause of this error would be a mis-configured keystore. Can you show us the Connector definition in server.xml for port 8443?

You say that there are 2 applications deployed in the server, but "the" application is accessible via SSL. Have you tested both of them? What do your URLs look like?

Finally, what does the logic that app1 uses to access app2 look like?
 
This parrot is no more. It has ceased to be. Now it's a tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic