Disabling automatic certificate creation
In some use cases it does not make sense for the user to reuse the certificates generated by TwinCAT/BSD for the web server. In this use case, automatic synchronization can be disabled and your own certificates can be used for the TwinCAT/BSD web server (nginx).
To do this, you must first disable automatic certificate creation so that your own certificates are installed and not overwritten by the default Beckhoff certificate.
Proceed as follows:
- 1. Disable the service
IPCDiagnosticsso that the certificate is not overwritten by the default Beckhoff certificate. - 2. To do this, enter the command
doas service IPCDiagnostics disablein the console.
- Automatic generation of certificates has been disabled. In the next step, a certificate can be requested from a certificate authority (CA) (see Requesting or creating an HTTPS certificate).