SSL Certificate Verification in Java

前端 未结 4 899
陌清茗
陌清茗 2020-12-08 16:08

Say I have two Java apps that I wrote: Ping.jar and Pong.jar and they get deployed and ran on two separate servers (Ping.jar deploys t

4条回答
  •  粉色の甜心
    2020-12-08 16:45

    You don´t have to manually check each other´s certificates.

    You just have to import each server certificate into each other´s cacerts, this way both application servers will automatically trust each other.

提交回复
热议问题