Recently, I'm using WinCCOA 3.17 P014. I found in documentation that since P011 it is possible to ignore certificate problems on the remote OPCUA server's side by setting _OPCUAServer.Config.Flags bit 9 to 1.
The value of this DPE (_MOL1.Config.Flags) now 00000000010000000000001000000000.
I also moved the cert to the folder data/opcua/client/PKI/CA/certs, but still i get errors when opcua client connects to server.
Code: Select all
WCCOAopcua (80), 2021.11.29 09: 33: 03.390, SYS, INFO, 156, Driver initialization finished.
WCCOAopcua (80), 2021.11.29 09: 33: 03.808, PARAM, WARNING, 71 / opcua, OpcUaCComm in initSecurity function, OPC UA client uses default certificate. Configure your own certificate for proper security.
WCCOAopcua (80), 2021.11.29 09: 33: 04.198, SYS, WARNING, 56 / opcua, OpcUaCComm in connect function, certificate MOL1 (opc.tcp://MOLUASERVER:4840) expired. Establishing a connection.
WCCOAopcua (80), 2021.11.29 09: 33: 04.761, SYS, SEVERE, 45 / opcua, OpcUaCComm in connect function, unable to connect to server EXAMPLEMOLD1 (opc.tcp://MOLUASERVER:4840) (Status code: BadCertificateTimeInvalid)