Java refusing certificate that browser accepts

后端 未结 2 2053
慢半拍i
慢半拍i 2020-12-20 09:06

I\'m having trouble configuring a valid certificate (not self-signed!) in Wildfly 9. I have configured the HTTPS connector in Wildfly:

            

        
2条回答
  •  既然无缘
    2020-12-20 09:43

    The problem here is that Java by default comes with a very limited set of root CA certificates. It "accepts" far fewer CAs than a typical browser. The simplest way to solve the problem is to export a set of CA certificates from a browser like Chrome or Firefox and import them into Java's keystore using keytool.

提交回复
热议问题