Programmatically adding a trusted cert in Java

前端 未结 3 2006
太阳男子
太阳男子 2021-02-15 01:47

I use SSL to communicate between two components written in Java. I can\'t use a CA, so I have to self-sign everything. Unfortunately, this means that when I try to handshake, I

3条回答
  •  情话喂你
    2021-02-15 02:03

    Why don't you create your own CA and sign your certificates with that? Then all you would need to do is install the CA own certificate on the machines and every certificate signed by that CA would validate.

提交回复
热议问题