简体   繁体   中英

SSL error for external API calls with the tomcat server

Something was changed in network configuration at my company to remediate log4j vulnerability but now my API calls are failing saying: SSL certificate chain is invalid.

I have tried setting cacert in jvm with the certificate from chrome but it does not work. Any suggestion on where to get the correct certificate from? and jvm cacert is the right place to update it?

Updating the cacert in JVM with proper certificate, will resolve the ssl certificate issue. But make sure you use correct certificate to complete certificate chain.
Reference document - https://www.grim.se/guide/jre-cert

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM