How to disable SSL certificate checking with Spring RestTemplate?

后端 未结 9 1187
余生分开走
余生分开走 2020-11-29 18:11

I am trying to write an integration test where our test launches an embedded HTTPS server using Simple. I created a self-signed certificate using keytool and am able to acce

9条回答
  •  北海茫月
    2020-11-29 18:46

    In my case, with letsencrypt https, this was caused by using cert.pem instead of fullchain.pem as the certificate file on the requested server. See this thread for details.

提交回复
热议问题