Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base . For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Certificate has is expired or not yet valid

More
11 Feb 2021 11:36 #9436 by support
Hello.

I think that the error message is quite clear. The OPC UA application instance certificate has expired.

If you have created the certificate by yourself, repeat the procedure and generate a new one.

If you are relying on automatic certificate generation provided by QuickOPC, you need to delete the existing certificate from the certificate store, and QuickOPC will generate a new one. In this case, the certificate will be in the directory in the file system ( opclabs.doc-that.com/files/onlinedocs/QuickOpc/Latest/User%2...ry%20Certificate%20Stores.html ) so you can delete it from there (but beware there are multiple files - see the documentation). It might be easier to use the UA Configuration Tool - download it from this page: kb.opclabs.com/Tool_Downloads . More information: kb.opclabs.com/UA_Configuration_Tool_Overview .

If you need more detailed instructions, let me know.

Best regards

Please Log in or Create an account to join the conversation.

More
11 Feb 2021 10:44 #9435 by Giuseppe12
Since two weeks in Visual Studio 2017 develop I receive this exception when run SubscribeEvent.Subscribe()

“Errore comunicazione : OPC-UA service result - Certificate has is expired or not yet valid. NotTimeValid: Un certificato richiesto non rientra nel suo periodo di validità se verificato rispetto all'ora corrente del sistema o al timestamp sul file firmato = BadCertificateTimeInvalid.
---- SERVICE RESULT ----
Status Code: {BadCertificateTimeInvalid} = 0x80140000 (2148794368)
-=-=-Description: Certificate has is expired or not yet valid. NotTimeValid: Un certificato richiesto non rientra nel suo periodo di validità se verificato rispetto all'ora corrente del sistema o al timestamp sul file firmato
Additional Info: <ExceptionTrace>
+ The SDK action called was "ApplicationInstance.CheckApplicationInstanceCertificate".
+ Following (9) events were gathered during the action on activity ID [22], in the order of first occurrence:
SDK trace: Checking application instance certificate.
SDK trace: Checking application instance certificate. CN=PaperFreeCutService
4*Exception: {Opc.Ua.ServiceResultException} Certificate has is expired or not yet valid. NotTimeValid: Un certificato richiesto non rientra nel suo periodo di validità se verificato rispetto all'ora corrente del sistema o al timestamp sul file firmato
SDK trace: Cert Validate failed: BadCertificateTimeInvalid
SDK trace: Certificate 'CN=PaperFreeCutService' rejected. Reason=BadCertificateTimeInvalid
SDK trace: Writing rejected certificate to directory: [Directory]%LocalFolder%/OPC Foundation/CertificateStores/RejectedCertificates
+ The error occurred while creating or checking the (client) application instance certificate. Check event log entries for errors and warnings.
+ This is an engine-level error.“

but we bought QuickOPC permanent key.

What happens ? What changed ?

Thanks

Please Log in or Create an account to join the conversation.

Moderators: supportvaclav.zaloudek
Time to create page: 0.130 seconds