secure HTTP communication for components of commercial product

前端 未结 4 1381
被撕碎了的回忆
被撕碎了的回忆 2021-02-20 13:06

Let\'s say I want to ship a commercial product that has two components, written in Java, communicating with each other on a local network using a RESTful API. It could be a musi

4条回答
  •  不知归路
    2021-02-20 14:05

    Your linked answer presents another solution: instead of disabling certificate validation for self-signed certificates, 'Export the certificate (...) and import it in your JVM truststore'.

    So only for the first time when an unknown certificate is found, ask for user confirmation.

提交回复
热议问题