question about certificate verify
Hi Opessl team We have a root certificate database, there are two root same certificates which have different expire time and thumbprint in the database. We call API "X509_STORE_CTX_init" to load the database first, and then call API "X509_verify_cert" to verify. >From our test result, valid certificate can be passed by this database, >expired certificate will failed. We want to confirm how openssl to look for correct certificate to verify. We used version 1.0.1 above now. Because some of our product used old version 0.9.8, valid certificate also failed sometimes. Best regards Forston Shi (RD-CN) TREND MICRO EMAIL NOTICE The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system. For details about what personal information we collect and why, please see our Privacy Notice on our website at: [ https://www.trendmicro.com/privacy]
question about certificate verify
Hi Openssl team, I have a question about certificate verify. We check a sub-certificate with a lot of root certificates. We don't want to check sub-certificate's expire time, but we want to get an error when root certificate expired. I try to verify it by following option, X509_VERIFY_PARAM* pm = X509_STORE_CTX_get0_param(xstore_ctx); X509_VERIFY_PARAM_set_flags(pm, X509_V_FLAG_NO_CHECK_TIME); iret = X509_verify_cert(xstore_ctx); But it also will ignore root certificate's expire. So, can you give me some suggestion for my question. Best regards Forston Shi (RD-CN) TREND MICRO EMAIL NOTICE The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system. For details about what personal information we collect and why, please see our Privacy Notice on our website at: [ https://www.trendmicro.com/privacy]