BadCertificateTimeInvalid
Posted: 24 Feb 2021, 07:40
Hi,
I'm trying to establish a secure connection to a Siemens S7-1512 PLC.
I've imported the certficitates at these locations:
- CA certificate (.der) in C:\Users\Joel\AppData\Roaming\unifiedautomation\uaexpert\PKI\issuers\certs
- CA certificate revoke list (.crl)in C:\Users\Joel\AppData\Roaming\unifiedautomation\uaexpert\PKI\issuers\crl
- Device certificate (.der) in C:\Users\Joel\AppData\Roaming\unifiedautomation\uaexpert\PKI\trusted\certs
The device is configured to use the Device certificate and is correctly loaded.
I'm able to discover the device in the UAExpert "Add server" window, but as soon as I hit the connect button I get these error messages:
[uastack] OpcUa_TcpConnection_ProcessResponse: Error Message!
[uastack] OpcUa_TcpConnection_ProcessResponse: Status 0x80140000!
Error 'BadCertificateTimeInvalid' was returned during OpenSecureChannel
I've tried to create all certificates (CA then Device) with different validity period (starting from today, ending in 10 years for example), but the issue is always the same.
Thanks for your help !
I'm trying to establish a secure connection to a Siemens S7-1512 PLC.
I've imported the certficitates at these locations:
- CA certificate (.der) in C:\Users\Joel\AppData\Roaming\unifiedautomation\uaexpert\PKI\issuers\certs
- CA certificate revoke list (.crl)in C:\Users\Joel\AppData\Roaming\unifiedautomation\uaexpert\PKI\issuers\crl
- Device certificate (.der) in C:\Users\Joel\AppData\Roaming\unifiedautomation\uaexpert\PKI\trusted\certs
The device is configured to use the Device certificate and is correctly loaded.
I'm able to discover the device in the UAExpert "Add server" window, but as soon as I hit the connect button I get these error messages:
[uastack] OpcUa_TcpConnection_ProcessResponse: Error Message!
[uastack] OpcUa_TcpConnection_ProcessResponse: Status 0x80140000!
Error 'BadCertificateTimeInvalid' was returned during OpenSecureChannel
I've tried to create all certificates (CA then Device) with different validity period (starting from today, ending in 10 years for example), but the issue is always the same.
Thanks for your help !