Basics of certificates
Self-signed Certificate
Each application on the device generates its own certificate and signs it. All other certificates from the communication partners to which a connection is to be established must therefore be trusted beforehand.
Application examples are static configurations with a small number of communication partners.
Certificate Authority-signed Certificate
All certificates are created and signed by a certification authority (CA). The root certificate of a CA can sign other sub-CA certificates, while the sub-CA certificates can in turn sign other device certificates. This is known as the "chain of trust".
If communication partners are in possession of such a CA-signed certificate, they are automatically trusted if a certificate higher up in the chain (e.g. the CA root certificate) is trusted. In this way, a chain of trust can be established and it is no longer necessary to keep all the individual certificates of the communication partners in the trust list.
Application examples are dynamically growing systems.
If communication partners (e.g. the Lenze OPC UA server on the controller) have a CA-signed certificate, it must also be possible to resolve the chain of trust in the client for a secure connection.
If the Lenze OPC UA server has a CA-signed certificate, it is necessary that the EASY Starter, for example, can also resolve this chain of trust as an OPC UA client. To do this, it is necessary to store the CA certificate in the Windows certificate store where the EASY Starter is connected to.