Hi ,
I am trying to connect PLC from BECKHOFF automation to UA expert its working fine but when i am trying to connect UA C++ client cpp sample program by changing the node 4840 in the program the results are not good 1.discovery getting good results it automatically displays my server but it does not read and write values from the PLC server it shows
ERROR :UA SESSION : connection failed :[ret : bad certificate invalid]
ERROR :UA SESSION : connection failed :[ret : bad certificat
Moderator: uasdkcpp
-
- Jr. Member
- Posts: 2
- Joined: 15 May 2013, 10:23
- Support Team
- Hero Member
- Posts: 3078
- Joined: 18 Mar 2011, 15:09
Re: ERROR :UA SESSION : connection failed :[ret : bad certif
Dear Honey,
depending on the selected security mode the certificate is validated, obviously it is invalid and hence the session can not be established.
When using any other than the "none"-security policy than the certificate gets validated. In order to get the connection up, the certificates need to be trusted (on both sides).
Best Regards
Support Team
depending on the selected security mode the certificate is validated, obviously it is invalid and hence the session can not be established.
When using any other than the "none"-security policy than the certificate gets validated. In order to get the connection up, the certificates need to be trusted (on both sides).
Best Regards
Support Team