RE: About OPC-UA security issue

Hello, i am running firmware version 2019.3 (19.3.0.18509 ). Here I cannot see the path for the certificate files like mentioned above : “/opt/plcnext/certificates/opcua/own/certs/eUAServer.cer”

“/opt/plcnext/certificates/opcua/own/private/eUAServer.cer.pkey” My structure looks like this: /opt/plcnext/Security /etc/plcnext/Security Can you describe where to store the certificates for OPC UA certificate authentification. Authentification with username/password works. Regards Thomas

Hello Thomas, with FW 2019 Certificate management was integrated into the WBM.

You can now easyly maintain the Certificates there.
And add new Certificates and Privatekeys in PEM format.

/opt/plcnext/Security/IdentityStores/OPC UA-self-signed

https://192.168.1.10/wbm/Main.html#Certificates.html

To generate a new Identity

Checkout the New PLCnext Manual 2019.X
MANUAL kind regards,
Oliver

Hi Oliver, i am not able to connect with certificate authentification yet. I entered the certificate in UAexpert (see screenshot). 2019 05 23 11 21 08 Windows 7 32bit VS10 CR S7 VMware Player And I imported the same certificate to the controler in a Trust Store: 2019 05 23 11 38 02 AXC F 2152 Certificate Authentication When I connect I get the following error message in UAexpert: 2019 05 23 11 29 07 Windows 7 32bit VS10 CR S7 VMware Player Do have any idea what could be the problem ? Regards Thomas

Hello Thomas, I do not think the OPC UA Server supports User Certificates yet. @ Edit

Martins MakersBlog also only mentioned Device Certificates and Client Certifcates… Logging in happens always via User credentials. Are User Certificates a Requirement for your applications?
When do you need it and what is your usecase?
You can also mail me for confidentiality owarneke@phoenixcontact.com if you prefere.

kind regards,
Oliver

Hello Oliver, if you say I have to use User/Password for authentification to the OPC server it is OK for me. For the encryption on the PLC i can use self signed certifactes. But I made a test to use my own certificates in the PLC (change the option in PLCNext from “Self-signed” to “file on PLC”). This did not work even if I copied the PLC self signed certificates from “OPC UA-self-signed” to the “OPC UA-configurable” folder. Maybe you can look at this if this will work. But it is not an important point for me. I just tested how it will work if I need it. Regards Thomas