Java and SSL certificates

前端 未结 6 1867
闹比i
闹比i 2020-12-03 05:23

I am trying to establish a connection with a PHP script of mine in Java using the secure socket layer (HTTPS), but I have found out that to ensure maximum security/validity

6条回答
  •  执笔经年
    2020-12-03 06:11

    I have found out that to ensure maxium security/validity I have to import the SSL certificate

    No you don't. You only need that step if your clients don't already trust the signer of the server certificate, which only arises if the server certificate is self-signed or signed e.g. by an internal CA.

提交回复
热议问题