OPC UA BadCertificateUntrusted

Hello PLCnext Community , i’m trying to create an opc ua server with my controller ( PLCnext AXC F 2152 ) as it has been shown in the tutorial but i’m getting an error in Uaexpert as the following : 15:55:02.055 | Server Node | [eUAServer@axc-f-2152-1 -](mailto:eUAServer@axc-f-2152-1 -) Ba… | Connecting failed with error ‘BadCertificateUntrusted (0x801A0000)’

15:54:59.024 | Server Node | [eUAServer@axc-f-2152-1 -](mailto:eUAServer@axc-f-2152-1 -) Ba… | The server returned a valid certificate.
15:54:59.024 | Server Node | [eUAServer@axc-f-2152-1 -](mailto:eUAServer@axc-f-2152-1 -) Ba… | ApplicationUri: ‘urn:axc-f-2152-1:PhoenixContact:eUAServer’
15:54:59.024 | Server Node | [eUAServer@axc-f-2152-1 -](mailto:eUAServer@axc-f-2152-1 -) Ba… | Found security policy 'http://opcfoundation.org/UA/SecurityPolicy#Basic256’
15:54:59.024 | Server Node | [eUAServer@axc-f-2152-1 -](mailto:eUAServer@axc-f-2152-1 -) Ba… | Found endpoint ‘opc.tcp://axc-f-2152-1:4840’
15:54:59.024 | Server Node | [eUAServer@axc-f-2152-1 -](mailto:eUAServer@axc-f-2152-1 -) Ba… | Found security policy 'http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15’
15:54:59.024 | Server Node | [eUAServer@axc-f-2152-1 -](mailto:eUAServer@axc-f-2152-1 -) Ba… | Found endpoint ‘opc.tcp://axc-f-2152-1:4840’
15:54:59.024 | Server Node | [eUAServer@axc-f-2152-1 -](mailto:eUAServer@axc-f-2152-1 -) Ba… | Found security policy 'http://opcfoundation.org/UA/SecurityPolicy#Basic128Rsa15’
15:54:59.024 | Server Node | [eUAServer@axc-f-2152-1 -](mailto:eUAServer@axc-f-2152-1 -) Ba… | Found endpoint ‘opc.tcp://axc-f-2152-1:4840’ what is the problem ? Regards Sam

Hi Sam, If you ignore this error in UA Expert using one of the options below, are you still able to connect UaExpert to the OPC UA Server on the PLC? 13 01 2020 17 05 16 ~ Martin.

Hi Martin, First of all thanks a lot for your quick response ,Secondly I couldn’t find this window that you have mentioned in your answer but im actually getting a request from uaexpert to accept the certificate of this server. I’ve accepted it and I’ve tried to install it manually as shown below also with Microsoft management console but never succeed . Kind regards Sam 2.jpg 1.jpg 3.jpg

Hi Sam, We may be using different versions of UaExpert - I am using version 1.5.1 for Linux, downloaded from the Unified Automation website. Can you tell me what version you are using? ========= EDIT: I have also tested this with version 1.5.1 for Windows, with the same result. Can you tell me what version you are using, and perhaps give some screen shots showing where the procedure in the tutorial differs from what you are seeing? ========= ~ Martin.

Hi Martin, You’ve found it ,it was actually version 1.2.1 thanks a lot it has been resolved after i changed the uaexperts version from 1.2.1 to 1.5.1 regards Sam