2012-10-25 13 views
6

Ho un'applicazione server Java (caricata con il proprio certificato server) che tenta di connettersi in modo sicuro con un altro server (Microsoft - ha il suo certificato server).java SSLHandshakeException Generale SSLEngine

Ognuno di essi ha caricato i certificati ROOT-CA attendibili e posso vedere chiaramente su entrambi i server. Sul lato Java ho caricato il certificato root-ca nel registro delle credenziali della CA lib/security della CA e nel trust store dell'applicazione. Sul server Microsoft ha root-ca caricato utilizzando lo strumento MMC.

Durante handshake SSL Continuo a ricevere questo errore:

javax.net.ssl.SSLHandshakeException: General SSLEngine problem ..... ..... Caused by: java.security.cert.CertificateException: Root certificate (subject: CN=blah.com, OU=ABC Communications Inc., O=CORP, C=US) of [blah.com] not trusted.

risposta

8

Il messaggio dice chiaramente che il certificato principale non è attendibile. Quindi non hai fatto quello che hai detto che hai fatto correttamente.

Problemi correlati