Controller.CertificateStore.viaPLCDesigner
The controller has its own certificate Store. This can be managed and controlled via the »PLC Designer«.
Activity Diagram
To do this, open the Security Screen and select the "Devices" tab.
Security Screen Devices
In the middle window, the respective status of the certificates can be selected under "Information". The following four statuses are available:
-
Own Certificates:
Own certificates of the Controller
-
Trusted Certificates:
Certificates from trusted communication partners
-
Untrusted Certificates:
Certificates from untrusted communication partners
-
Quarantined Certificates:
Certificates from communication partners in quarantine
To change a certificate from the status, it can simply be moved from the right window via drag-and-drop to the desired status.
The following possibilities of using the certificates are possible:
Create a new Certificate on the Device
To create a new certificate on the device, select an existing own certificate or a placeholder marked as "not available" and press the corresponding button. The desired key length and validity period can then be specified before creating the certificate.
The status of a certificate can be changed by dragging and dropping the certificate from the right-hand window to the desired status.
To replace certificate A with certificate B, first delete certificate A and then create certificate B. This ensures that the newly created certificate becomes the certificate used by the device.
-
If an existing certificate A is present and an additional certificate B is created, the certificate with the longer validity period is used, even if this is certificate A. Both certificates are displayed in the "Own Certificate" area.
>>>>>>> .r46270
Delete the certificate on the device
To do this, select a certificate and press the button. It is important that the certificate is deleted and not moved to "Untrusted Certificates".
Upload the selected certificate from the device and safe it on your PC
For this purpose, select a certificate and press the button. It is important that the respective certificates are loaded onto the PC with the public key. The private key remains on the controller.
Show details for the selected certificate
For this purpose, select a certificate and press the button. A window opens where the details of the certificate can be viewed.
Initial certificates
When the controller boots, some certificates will be generated automatically. This happens for the first time when these devices are produced in manufacturing. Since no time has been set in the controllers for this production step and there is no communication via an NTP connection, the certificates are created with a initial time stamp far in the past. After the devices are sent to the customer, they are switched on again.
When logging into the controller with PLC Designer a pop-up dialog informs that the user some certificates are expired. On the security screen, the expired (validity date in the past) or inactive (empty information field) certificates can be checked. Expired or inactive certificates can be deleted. New certificates will either be generated automatically during the next boot or can be created manually via the security screen.
Example for Initial Certificates