Skip to content

ardalis/CertExpirationCheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Certificate Expiration Check

A simple xUnit C# test showing how to verify a certificate for a domain has at least 30 days before it expires.

This sample is in response to my tweet on using automated tests to check for soon-to-be-expired certs(RTs appreciated). Here's the C# code to do it.

Give a Star! ⭐

If this ends up helping you, please give it a star to help others find it. Thanks!

About

A simple xUnit C# test showing how to verify a certificate for a domain has at least 30 days before it expires.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages