2025-03-25 07:56:29 +01:00
2024-11-02 12:50:36 +01:00
2024-11-01 12:15:47 +01:00
2025-03-25 07:56:29 +01:00
2025-03-25 07:56:29 +01:00

certificate

Bash scripts to check whether a site is available or not, and whether the certificate is valid or not.

1) urls_check.sh

Usage: urls_check.sh

  1. Check whether the certificate is valid or not, using showcert (pip install showcert) if available, else use openssl.
  2. Check if the url is up or down with it's http_code.

Required the urls_list.txt file that contain a list of domains:

#https://notif.domain.com
#https://ntfy.domain.com
https://paperlessngx.domain.com
https://pastebin.domain.com

# comment line to disable checking this url

Required the status.txt file to give information about the http code returned.

302;Found;https://developer.mozilla.org/fr/docs/Web/HTTP/Status/302

2) validity.sh

Usage: ./validity.sh

Check whether the certificate is valid or not, using showcert (pip install showcert) if available, else use openssl.

Required the validity_domains.txt file that contain a list of domains:

domain1.com
domain2.fr

or edit the hosts() array in source code.

Description
No description provided
Readme 85 KiB
Languages
Shell 100%