开发者

tell java to accept a self-signed certificate (to some extent a repeated question)

Alright, so when I attempt to access the file manager through webmin it fails and throws an error to the tune of:

failed to get language list : javax.net.ssl.SSLHandshakeException : java.sucurity.cert.CertificateException: Java couldn't trust server

So, I read a little bit and found out (I think) that I need to configure java to accept the self-signed certificate. Now,

telling java to accept self-signed ssl certificate

This really didn't clear anything up because I'm really not sure that we开发者_C百科 have the same problem, or if both our problems have the same solution? So, I was wondering if someone could point me in the right direction with some articles, possibly tell me what java I need to be configuring (I'm assuming that it is the VMware java?)

Thoughts?


javax.net.ssl.SSLHandshakeException : java.sucurity.cert.CertificateException: Java couldn't trust server

That's not a Java message. You would need to post the actual message of the exception, not something made up by the application. (Never do that.)

To answer the original question, all you have to do is import the certificate into the client's truststore.

See here for a keytool-less way of doing it, with thanks to Andreas Sterbenz.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜