# tls_expiry - TLS cert expiration

Checks an SSL/TLS certificate is not due to expire/has expired.

Note

This monitor’s gap defaults to 12 hours.

host
  Type:

    string

  Required:

    true

  the hostname to connect to

port
  Type:

    integer

  Required:

    false

  Default:

    `443`

  the port number to connect on

min_days
  Type:

    integer

  Required:

    false

  Default:

    `7`

  the minimum allowable number of days until expiry

sni
  Type:

    string

  Required:

    false

  the hostname to send during TLS handshake for SNI. Use if you are serving multiple certificates from the same host/port. If empty, will just get the default certificate from the server