You can run the visualization of a CODESYS project on a panel, which the Remote TargetVisu supports, with encrypted communication.
Installing a certificate and starting the encrypted Remote TargetVisu
Requirement
A controller with a visualization exists in the network and this controller is running.
A start visualization has been defined in the Remote TargetVisu object.
The program RemoteTargetVisu.exe
is located on the panel.
The public certificate file (public key) is located on the panel and encoded as BASE64 or ASN1
Run the program RemoteTargetVisu.exe
with the option -installTrustedCert= <certificate path>
. You can also specify the absolute path of the certificate (example: RemoteTargetVisu.exe --installTrustedCert=C:\\cert\\export\\example.cer
).
⇒ A dialog prompt opens with the current certificate information. The access to the self-signed certificate of the PLC is activated.
Note: This kind of installation is possible only with a standalone variant of the Remote TargetVisu.
Run the program RemoteTargetVisu.exe
with the option -continueAfterInstallTrustedCert
.
⇒ The Remote TargetVisu starts as usual.
The optional command-line argument -omitInstallCertInfo
makes it possible to skip the dialog box that displays the result of the certificate installation.
The CFG file "CODESYSControl.cfg"
is located on the PLC, for example in the folder "Platforms/Linux/Projects"
. There you can configure the communication as follows.
|
|
|
Connection via plain text communication Default |
|
Connection via encrypted communication
If you start the Remote TargetVisu with |
See also