Azure-Samples / iot-edge-for-iiot

Learn how to use a hierarchy of Azure IoT Edge devices in a manufacturing environment to extract data from industrial assets and upload it to the Cloud while meeting the strict requirements of the Purdue network model.
MIT License
48 stars 49 forks source link

Certificate has expired or is not yet valid. NotTimeValid: certificate has expired #43

Open Sdelausnay opened 2 years ago

Sdelausnay commented 2 years ago

Hi,

We have performed the setup from the script but are not able to get the OPC UA publisher working. We get a certificate issues.

Logs OPC Publisher ``` [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0 in Connecting state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0: SendHelloMessage() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0: SendHelloMessage() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0: ProcessAcknowledgeMessage() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0: ProcessAcknowledgeMessage() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0 in Opening state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Token #0 created. CreatedAt = 10:35:59.582 . Lifetime = 3600000 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0 in Opening state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Token #0 created. CreatedAt = 10:35:59.582 . Lifetime = 3600000 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0: ProcessOpenSecureChannelResponse() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Security Policy: http://opcfoundation.org/UA/SecurityPolicy#None [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Sender Certificate: (none) [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Security) SECURE CHANNEL CREATED [.NetStandard ClientChannel UA-TCP 1.4.367.42] [ID=2730] Connected To: opc.tcp://10.16.3.4:54845/OPCUA/Site1 [None/None/Binary] [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Token #1 activated. CreatedAt = 10:35:59.582 . Lifetime = 600000 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2730 in Open state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0: ProcessOpenSecureChannelResponse() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Security Policy: http://opcfoundation.org/UA/SecurityPolicy#None [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Sender Certificate: (none) [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Security) SECURE CHANNEL CREATED [.NetStandard ClientChannel UA-TCP 1.4.367.42] [ID=2729] Connected To: opc.tcp://10.16.3.4:54855/OPCUA/Site2 [None/None/Binary] [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Token #1 activated. CreatedAt = 10:35:59.582 . Lifetime = 600000 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2729 in Open state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Service) GetEndpoints Completed. RequestHandle=1, PendingRequestCount=0 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2730: Close [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2730 in Closing state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2730: SendCloseSecureChannelRequest() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Service) GetEndpoints Completed. RequestHandle=1, PendingRequestCount=0 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2729: Close [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2729 in Closing state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2729: SendCloseSecureChannelRequest() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2730 in Closed state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) CLIENTCHANNEL SOCKET CLOSED: 034C104A, ChannelId=2730 [10:35:59 INF Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Creating session '5a15c295092218e43384032f655bf7914f725416' for endpoint 'opc.tcp://10.16.3.4:54845/OPCUA/Site1'... [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Start Azure IIoT 5a15c295092218e43384032f655bf7914f725416 ... [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Service) GetEndpoints Called. RequestHandle=1, PendingRequestCount=1 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0 in Connecting state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2729 in Closed state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) CLIENTCHANNEL SOCKET CLOSED: 017FF41D, ChannelId=2729 [10:35:59 INF Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Creating session 'a015f4255f1d26e344521d1a494a355c3876db1b' for endpoint 'opc.tcp://10.16.3.4:54855/OPCUA/Site2'... [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Start Azure IIoT a015f4255f1d26e344521d1a494a355c3876db1b ... [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Service) GetEndpoints Called. RequestHandle=1, PendingRequestCount=1 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0 in Connecting state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0: SendHelloMessage() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0: SendHelloMessage() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0: ProcessAcknowledgeMessage() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0 in Opening state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Token #0 created. CreatedAt = 10:35:59.592 . Lifetime = 3600000 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0: ProcessOpenSecureChannelResponse() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Security Policy: http://opcfoundation.org/UA/SecurityPolicy#None [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0: ProcessAcknowledgeMessage() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0 in Opening state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Token #0 created. CreatedAt = 10:35:59.594 . Lifetime = 3600000 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Sender Certificate: (none) [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Security) SECURE CHANNEL CREATED [.NetStandard ClientChannel UA-TCP 1.4.367.42] [ID=2731] Connected To: opc.tcp://10.16.3.4:54845/OPCUA/Site1 [None/None/Binary] [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Token #1 activated. CreatedAt = 10:35:59.592 . Lifetime = 600000 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2731 in Open state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0: ProcessOpenSecureChannelResponse() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Security Policy: http://opcfoundation.org/UA/SecurityPolicy#None [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Sender Certificate: (none) [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Security) SECURE CHANNEL CREATED [.NetStandard ClientChannel UA-TCP 1.4.367.42] [ID=2732] Connected To: opc.tcp://10.16.3.4:54855/OPCUA/Site2 [None/None/Binary] [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Token #1 activated. CreatedAt = 10:35:59.594 . Lifetime = 600000 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Service) GetEndpoints Completed. RequestHandle=1, PendingRequestCount=0 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2731: Close [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2731 in Closing state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2731: SendCloseSecureChannelRequest() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2732 in Open state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2731 in Closed state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) CLIENTCHANNEL SOCKET CLOSED: 0055DB41, ChannelId=2731 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Service) GetEndpoints Completed. RequestHandle=1, PendingRequestCount=0 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2732: Close [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2732 in Closing state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2732: SendCloseSecureChannelRequest() [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 2732 in Closed state. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) CLIENTCHANNEL SOCKET CLOSED: 0134A138, ChannelId=2732 [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Service) ***EXCEPTION*** BadCertificateTimeInvalid 'Certificate has expired or is not yet valid. NotTimeValid: certificate has expired' [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Service) ***EXCEPTION*** BadCertificateTimeInvalid 'Certificate has expired or is not yet valid. NotTimeValid: certificate has expired' [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Certificate Vaildation failed for 'CN=NodeOPCUA, O=NodeOPCUA'. Reason=Certificate has expired or is not yet valid. NotTimeValid: certificate has expired Id: BadCertificateTimeInvalid Description: Certificate has expired or is not yet valid. NotTimeValid: certificate has expired [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Security) -- BadCertificateTimeInvalid 'Certificate has expired or is not yet valid. NotTimeValid: certificate has expired' [10:35:59 INF Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Rejecting peer certificate 2AC56A53D2F5BA96A38E286799A45269BE152CA4, 'CN=NodeOPCUA, O=NodeOPCUA' because of BadCertificateTimeInvalid. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Service) ***EXCEPTION*** BadCertificateTimeInvalid 'Certificate has expired or is not yet valid. NotTimeValid: certificate has expired' [10:35:59 ERR Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Error) Certificate 'CN=NodeOPCUA, O=NodeOPCUA' rejected. Reason=BadCertificateTimeInvalid 'Certificate has expired or is not yet valid. NotTimeValid: certificate has expired' [10:35:59 ERR Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Error) Writing rejected certificate to directory: [Directory]pki/rejected [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Service) ***EXCEPTION*** BadCertificateTimeInvalid ServiceResultException Certificate has expired or is not yet valid. NotTimeValid: certificate has expired [10:35:59 INF Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Azure IIoT a015f4255f1d26e344521d1a494a355c3876db1b took 00:00:00.0200083. [10:35:59 DBG Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Failed to connect to opc.tcp://10.16.3.4:54855/OPCUA/Site2: Certificate has expired or is not yet valid. NotTimeValid: certificate has expired - try again... [10:35:59 WRN Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Failed to create session 'a015f4255f1d26e344521d1a494a355c3876db1b' due to One or more errors occurred. (Certificate has expired or is not yet valid. NotTimeValid: certificate has expired) [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Certificate Vaildation failed for 'CN=NodeOPCUA, O=NodeOPCUA'. Reason=Certificate has expired or is not yet valid. NotTimeValid: certificate has expired Id: BadCertificateTimeInvalid Description: Certificate has expired or is not yet valid. NotTimeValid: certificate has expired [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Security) -- BadCertificateTimeInvalid 'Certificate has expired or is not yet valid. NotTimeValid: certificate has expired' [10:35:59 INF Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Rejecting peer certificate 2AC56A53D2F5BA96A38E286799A45269BE152CA4, 'CN=NodeOPCUA, O=NodeOPCUA' because of BadCertificateTimeInvalid. [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Service) ***EXCEPTION*** BadCertificateTimeInvalid 'Certificate has expired or is not yet valid. NotTimeValid: certificate has expired' [10:35:59 ERR Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Error) Certificate 'CN=NodeOPCUA, O=NodeOPCUA' rejected. Reason=BadCertificateTimeInvalid 'Certificate has expired or is not yet valid. NotTimeValid: certificate has expired' [10:35:59 ERR Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Error) Writing rejected certificate to directory: [Directory]pki/rejected [10:35:59 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Service) ***EXCEPTION*** BadCertificateTimeInvalid ServiceResultException Certificate has expired or is not yet valid. NotTimeValid: certificate has expired [10:35:59 INF Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Azure IIoT 5a15c295092218e43384032f655bf7914f725416 took 00:00:00.0236448. [10:35:59 DBG Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Failed to connect to opc.tcp://10.16.3.4:54845/OPCUA/Site1: Certificate has expired or is not yet valid. NotTimeValid: certificate has expired - try again... [10:35:59 WRN Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Failed to create session '5a15c295092218e43384032f655bf7914f725416' due to One or more errors occurred. (Certificate has expired or is not yet valid. NotTimeValid: certificate has expired) [10:35:59 DBG Microsoft.Azure.IIoT.OpcUa.Edge.Publisher.Engine.DataFlowProcessingEngine] Identity L3-edge; opcpublisher [10:35:59 INF Microsoft.Azure.IIoT.OpcUa.Edge.Publisher.Engine.DataFlowProcessingEngine] DIAGNOSTICS INFORMATION for : opc.tcp://10.16.3.4:54845/OPCUA/Site1_5a15c295092218e43384032f655bf7914f725416 # Ingestion duration : 00:00:00:00 (dd:hh:mm:ss) # Ingress DataChanges (from OPC) : 0 # Ingress ValueChanges (from OPC) : 0 # Ingress BatchBlock buffer size : 0 # Encoding Block input/output size : 0 | 0 # Encoder Notifications processed : 0 # Encoder Notifications dropped : 0 # Encoder IoT Messages processed : 0 # Encoder avg Notifications/Message : 0 # Encoder avg IoT Message body size : 0 (0%) # Encoder avg IoT Chunk (4 KB) usage : 0 # Estimated IoT Chunks (4 KB) per day: 0 # Outgress Batch Block buffer size : 0 # Outgress input buffer count : 0 # Outgress input buffer dropped : 0 # Outgress IoT message count : 0 # Connection retries : 109 [10:36:00 DBG Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker+JobProcess] Sending job processor heartbeat... [10:36:00 DBG Microsoft.Azure.IIoT.OpcUa.Edge.Publisher.Engine.LegacyJobOrchestrator] SendHeartbeatAsync updated worker StandalonePublisher_0 with Keep instruction for job opc.tcp://10.16.3.4:54845/OPCUA/Site1_5a15c295092218e43384032f655bf7914f725416. [10:36:09 DBG Microsoft.Azure.IIoT.OpcUa.Edge.Publisher.Engine.DataFlowProcessingEngine] Identity L3-edge; opcpublisher [10:36:09 INF Microsoft.Azure.IIoT.OpcUa.Edge.Publisher.Engine.DataFlowProcessingEngine] DIAGNOSTICS INFORMATION for : opc.tcp://10.16.3.4:54855/OPCUA/Site2_a015f4255f1d26e344521d1a494a355c3876db1b # Ingestion duration : 00:00:00:00 (dd:hh:mm:ss) # Ingress DataChanges (from OPC) : 0 # Ingress ValueChanges (from OPC) : 0 # Ingress BatchBlock buffer size : 0 # Encoding Block input/output size : 0 | 0 # Encoder Notifications processed : 0 # Encoder Notifications dropped : 0 # Encoder IoT Messages processed : 0 # Encoder avg Notifications/Message : 0 # Encoder avg IoT Message body size : 0 (0%) # Encoder avg IoT Chunk (4 KB) usage : 0 # Estimated IoT Chunks (4 KB) per day: 0 # Outgress Batch Block buffer size : 0 # Outgress input buffer count : 0 # Outgress input buffer dropped : 0 # Outgress IoT message count : 0 # Connection retries : 108 [10:36:09 DBG Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Runner Keepalive reset due to checkAlive [10:36:09 DBG Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Initializing session 'a015f4255f1d26e344521d1a494a355c3876db1b'... [10:36:09 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Service) GetEndpoints Called. RequestHandle=1, PendingRequestCount=1 [10:36:09 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0 in Connecting state. [10:36:09 DBG Microsoft.Azure.IIoT.OpcUa.Protocol.Services.DefaultSessionManager] Initializing session '5a15c295092218e43384032f655bf7914f725416'... [10:36:09 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Service) GetEndpoints Called. RequestHandle=1, PendingRequestCount=1 [10:36:09 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0 in Connecting state. [10:36:09 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0: SendHelloMessage() [10:36:09 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0: SendHelloMessage() [10:36:09 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0: ProcessAcknowledgeMessage() [10:36:09 VRB Microsoft.Azure.IIoT.OpcUa.Protocol.Services.StackLogger] (Information) Channel 0 in Opening state. ```

We have retrieved the certificate from the node and seems it was only valid from 06/12/2020 until 06/12/2021.

We check all systems clock and they are all correct. Also removed the Pki folder, restarted everything but always getting the same result.

Even upgrading the OPC publisher from 2.6 to 2.8 didn't work.

Can this be related to the NodeRed OPC UA Server in this case. We are using the '-aa' flag on OPC publisher but still fails on it.

onderyildirim commented 2 years ago

You get this error when certificates in a node red plugin have expired. Here are possible solutions