Quantcast
Channel: Siemens Latest Topics
Viewing all articles
Browse latest Browse all 698

Issue when using PLC S7-1500 as OPC UA client to connect with OPC UA server having certificate

$
0
0

Dear all,

I'd like to get your support on the issue with OPC UA certificate.

My OPC UA server has been built with Node.js. The PLC S7-1500 (firmware v2.9) acts as OPC UA client.

It's working well without certificate but when I use certificate, there are 2 situations:

1. When connecting using "Online access" (as attachment) in the "OPCUA Communication >> Client interfaces", I can connect with certificate (after I export and copy the PLC's certificate to the trusted folder of the server). --> server is ok.

2. When coding and running with real PLC: can't connect, there is even no PLC's certificate on the rejected folder of the server and there is no any error, the Status of block "OPC UA Connect DB" is still 16#0000_0000.

So, what I did with certificate in TIA Portal (V17) are:

- Enable the Global security setting for certificate manager

- Created (and tested) with both self-signed certificate and CA certificate for PLC

- Added server's certificate to trusted list in "Certificate manager" of TIA Portal (also added to the "Certificate of the partner devices" in  Device config)

- In "OPCUA Communication >> Client interfaces", chose the Security Mode/Policy and PLC's certificate (already tried with and without this setting)

In my point of view, the problem is that the PLC received the certificate but somehow it didn't read correctly or didn't compare with the certificate in the trusted list because if the PLC does this step, it should send its certificate to (the rejected folder of) server.

Could anyone help me to solve this issue? Thank you in advance.

---------- 

Best regards,

Danh Vo

Can connect to OPC UA server with Online access mode.png


Viewing all articles
Browse latest Browse all 698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>