Bonjour,

Je suis heureux de vous présenter mon petit dernier: certShow.sh
   https://f-hauri.ch/vrac/certShow.sh
   # certShow.sh - Look for SSL expiration time by running parallel requests
   ...
   # This script require bash version >= 5.1
   ...
   #   - Intented to be run periodically (by crontab or other time based
   #      trigger), with `-q` switch:
   #   $ cat /pathTo/siteList.txt | xargs /pathTo/certShow.sh -q

Exemple, pour un crontab:
  /pathTo/certShow.sh -q f-hauri.ch cartou.ch on.s.enfi.ch
N'affichera rien tant qu'aucun certificat n'arrive à moins
de 14 jours (option "-d") de son échéance.

Cet outil accepte en argument nom de domaine, IPv4 ou
fichiers.
  /pathTo/certShow.sh -a /etc/ssl/certs/*.pem

Les requêtes sont paralellisées, j'ai placé arbitrairement le maxProc
par défaut à 10, car à priori cette paralelisation n'a rien à voir
avec le nombre de coeurs (ou très peu:  J'ai testé avec:
   ./certShow.sh -p 150 /etc/ssl/certs/*.pem
  sans soucis.)

L'affichage se fait dans l'ordre des arguments fournis.

  /pathTo/certShow.sh -ae /etc/ssl/certs/*.pem google.com infomaniak.ch


Le Fri, Feb 28, 2025 at 08:56:16AM +0100, Service informatique a écrit :
> ----- Message transféré de nore...@letsencrypt.org -----
> 
> From: nore...@letsencrypt.org
> Subject: Let's Encrypt Expiration Emails Update
> To: se...@enerbat.ch
> Date: Wed, 26 Feb 2025 22:41:50 +0000
> Message-Id: <20250226t224150.4957834139151858094.nore...@letsencrypt.org>
> 
> Hi,
> 
> As a Let’s Encrypt Subscriber, you benefit from access to free, automated TLS 
> certificates. One way we have supported Subscribers is by sending expiration 
> notification emails when it’s time to renew a certificate.
> 
> We’re writing to inform you that we intend to discontinue sending expiration 
> notification emails. You can learn more in this blog post. You will receive 
> this reminder email again in the coming months:
> 
> https://letsencrypt.org/2025/01/22/Ending-Expiration-Emails
> 
> Here are some actions you can take today:
> 
> Automate with an ACME Client that supports Automated Renewal Information 
> (ARI). ARI enables us to automatically renew your certificates ahead of 
> schedule should the need arise:
> 
> https://letsencrypt.org/2024/04/25/guide-to-integrating-ari-into-existing-acme-clients
> 
> Sign up for a third-party monitoring service that may provide expiration 
> emails. We can recommend Red Sift Certificates Lite, which provides free 
> expiration emails for up to 250 active certificates:
> 
> https://redsift.com/pulse-platform/certificates-lite
> 
> Opt in to emails. While we are deprecating expiration notification emails, 
> you can opt in to continue to receive other emails. We’ll keep you informed 
> about technical updates, and other news about Let’s Encrypt and our parent 
> nonprofit, ISRG, based on the preferences you choose:
> 
> https://letsencrypt.org/opt-in/
> 
> If you are receiving this email in error, unsubscribe at:
>   
> http://delivery.letsencrypt.org/track/unsub.php?u=30850198&id=d78af4343621477bbc50bb971b9aa506.IiixeW8PhfouFdcR%2F3AV%2BXhPUvI%3D&r=https%3A%2F%2Fmandrillapp.com%2Funsub%3Fmd_email%3Ds%252A%252A%252A%252A%2540e%252A%252A%252A%252A.%252A%252A%252A
> 
> All the best,
> Let’s Encrypt
> 
> 
> ----- Fin du message transféré -----
> 
> -- 
>   Service Informatique Réseau - Enerbat SA <informati...@enerbat.ch>
>   Service Informatique Réseau - SBTechnique SA <informati...@sbtechnique.ch>
>   Service Informatique Réseau - Enercity SA <informati...@enercity.ch>
> 

-- 
 Félix Hauri  -  <fe...@f-hauri.ch>  -  http://www.f-hauri.ch
__________________________________________________________________________
 Félix Hauri - Informaticien consultant  |\      /|       ___  _
 --------------------------------------  | \ __ / |      /    -   /   o
 4, rue Centrale / CH-1450 Sainte-Croix  | .    . |     /_  ___  /
 Tél: (+41/0) 24 454 54 04  Fax:..54 00  |   /\   |    /   /__/ /   /  \/
 http://www.f-hauri.ch                   | \ __ / |   /   /__  /_  /_  /\
 email: fe...@f-hauri.ch                  \ ____ /   ---------------------
 Félix Hauri   -    Informaticien consultant    -   <fe...@f-hauri.ch>
 Tél: (+41/0) 24 454 54 04 - 079 703 15 36   -   http://www.f-hauri.ch
##########################################################################  
 Ni PGP, ni cryptage:  Tant que mal maîtrisé et/ou mal installé ce sys-
 tème est entre inutile et dangereux. Attention! Il existe désormais des
 dispositions légales tendant à faire valoir à une signature électronique   
 le même poids qu'une signature manuscrite!
##########################################################################

_______________________________________________
gull mailing list
gull@forum.linux-gull.ch
https://forum.linux-gull.ch/mailman/listinfo/gull

Répondre à