Detect and send email if a new ssl cert has been released.
1.7K
Detect and send email if a new ssl cert has been released.
config.sqlINSERT INTO domains VALUES ('domain1.tld', '[email protected]', strftime('%s', 'now'));
INSERT INTO domains VALUES ('%25domain2.tld', '[email protected]', strftime('%s', 'now'));
INSERT INTO config VALUES ('subject','Nuovo certificato SSL');
INSERT INTO config VALUES ('msg_from','Email@from');
INSERT INTO config VALUES ('smtp_host','');
INSERT INTO config VALUES ('smtp_user','');
INSERT INTO config VALUES ('smtp_password','');
INSERT INTO config VALUES ('text','# É stato rilasciato un certificato per il tuo dominio
Dominio <strong>{}</strong>, rilasciato il <strong>{}</strong>
Guarda più info [{}]({}) e assicurati che il certificato
sia stato richesto dal vostro IT.
');
INSERT INTO config VALUES ('style','<style>
h1 {
color: #red;
}
</style>');
sqlite3 data.db < db_schema.sql
sqlite3 data.db < config.sql
docker run --rm -v `pwd`/data.db lnmentworks/new_ssl_detector
Content type
Image
Digest
Size
30.9 MB
Last updated
almost 8 years ago
docker pull lmnetworks/new_ssl_detector