• 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
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

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
 
Bartender
Posts: 20849
125
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!