Trusting an expired certificate [duplicate]
问题 This question already has answers here : java - ignore expired ssl certificate (3 answers) Closed 4 years ago . My client is failing with the below error while communicating with a https server with an expired cert. While we are in the process of waiting that to be fixed on the server side by renewing, I am wondering if we can by pass this error by adding the expired cert to our own trust store? This allows us to gain some testing time while waiting for the cert to be renewed. US has an end