• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat SSL configuration

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
reply
    Bookmark Topic Watch Topic
  • New Topic