CertExpirationCheck
A simple xUnit C# test showing how to verify a certificate for a domain has at least 30 days before it expires.
Install / Use
/learn @ardalis/CertExpirationCheckREADME
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! :star:
If this ends up helping you, please give it a star to help others find it. Thanks!
Related Skills
node-connect
348.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
