Skip to content

kowalczyk-krzysztof/ssl-certificate-check

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

SSL Certificate Expiry Date Check

Inputs

certificate-hostname

The hostname that will be checked for a valid SSL certificate as a string e.g google.com

Results

On success logs a string containing expiry date e.g Certificate valid until: Jan 25 13:43:08 2023 GMT.

On error sets the step status to failed and logs the error.

Example usage

uses: kowalczyk-krzysztof/ssl-certificate-check@v1
with:
  certificate-hostname: ${{ secrets.CERTIFICATE_HOSTNAME }}