Bonjour,
une application sous tomcat effectue des opérations par SSL en faisant System.setProperty("javax.net.ssl.trustStore", [path]);
Parfois, ça ne marche plus, il y a des exception bizarre comme si le truststore n'existait plus ou si le password avait changé.
Un restart de tomcat permet de revenir à un état OK.
Vous auriez une idée d'où ça peut venir, svp?
merci d'avance,
Pascal
Annexe: deux des exceptions bizarres
javax.naming.CommunicationException: simple bind failed: [serveur + port] [Root exception is 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]
javax.naming.CommunicationException: simple bind failed: [serveur + port] [Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found]
Partager