Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.18 KB

README.md

File metadata and controls

46 lines (31 loc) · 1.18 KB

Check SSL - Python

langage version Twitter

Vérifie l'expiration d'un certificat SSL pour des urls donnés

Input

Lister vos urls dans un fichier "yml"

Output

{'url': <URL>, 'expiration': <ssl_expiration_timestamp>, 'dns': [<DNS>]}

Execution

export LIST=./sources/list.yml
python3 check_ssl.py

Docker

docker build -t pg3io/ssl:0.1 . --no-cache
docker run -d -e LIST=/sources/list.yml --name checkSSL pg3io/ssl:0.1

ou simplement en récupérant l'image sur notre registry

docker run -d -e LIST=/sources/list.yml --name checkSSL registry.pg3.io:5000/pg3io/ssl:0.1

License

Apache 2.0 Licence

This project is licensed under the Apache 2.0 license - see the LICENSE file for details.

Author Information

This role was created in 21/12/2018 by PG3
Maintained in 05/07/2021 by PG3\