Difference between self-signed CA and self-signed certificate

前端 未结 4 2199
盖世英雄少女心
盖世英雄少女心 2020-12-02 05:04

I\'m not clear on the difference between a CA key and a certificate. Isn\'t a CA key simply a certificate? Let me try and clarify with an example.

I have a client

4条回答
  •  情歌与酒
    2020-12-02 05:21

    Both options are valid, option 2 is simpler.

    Option 1 (setting up your own CA) is preferable when you need multiple certificates. In a company you might set up your own CA and install that CA's certificate in the root keystore of all clients. Those clients will then accept all certificates signed by your CA.

    Option 2 (self-signing a certificate without a CA) is easier. If you just need a single certificate, then this is sufficient. Install it in the keystores of your clients and you are done. But when you need a second certificate, you need to install that again on all clients.

    Here is a link with further information: Creating Certificate Authorities and self-signed SSL certificates

提交回复
热议问题