Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Index of Chilkat Blog Posts

November 1, 2007

How to Check if Digital Certificate Expired

Question:
We are using the "sending signed email" functionality of the Chilkat Email component. We are wondering what happens if the certificate used to sign the cert expires. Does function fail, or does the email still go out and the receiver gets the error the cert has expired?

Answer:
The method should not fail. It will still sign the email, even if the certificate is expired. However, your program may first check to see if a certificate is expired and then react appropriately (before trying to send the email). Here are examples showing how to check if a digital certificate is expired:

ASP: Check if Certificate Expired
SQL Server: Check if Certificate Expired
C#: Check if Certificate Expired
C++: Check if Certificate Expired
Delphi: Check if Certificate Expired
Visual FoxPro: Check if Certificate Expired
Java: Check if Certificate Expired
Perl: Check if Certificate Expired
Python: Check if Certificate Expired
Ruby: Check if Certificate Expired
VB.NET: Check if Certificate Expired
Visual Basic: Check if Certificate Expired
VBScript: Check if Certificate Expired


Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.