X509TrustManager Override without allowing ALL certs?

前端 未结 2 2073
旧巷少年郎
旧巷少年郎 2020-12-09 13:15

I am currently overriding X509TrustManager to allow all certs as a temporarily \'solution\' (an unsafe one at that). I am trying to figure out how I would go about adding in

2条回答
  •  误落风尘
    2020-12-09 14:08

    One possibility would be to temporarily add the problematic certificate to your JVM's key store as a trusted certificate.

提交回复
热议问题