Ignore SSL Certificate in a Servlet

后端 未结 3 1119
忘掉有多难
忘掉有多难 2021-02-19 04:21

I am getting the following exception:

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.pro         


        
3条回答
  •  我寻月下人不归
    2021-02-19 04:26

    You have developed one servlet. Right? It is nothing but a web page. If you want SSL enabled webpage then you must purchase SSL certificate after that install that certificate. If you don't have that certificate then do use above mentioned codes. Above mentioned codes is appropriate for all security issues.

    You have to buy the SSL/TSL certificate from companies like Verisign and Thawte.

提交回复
热议问题