Skip to content

pg3io/check-ssl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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\

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published