CertSpotter from SSLMate in docker
Automated build from GitHub repository using GoLang:1.10
- /root/.muttrc, for mailing options
- /certspotter, base directory for certspotter
- /run.sh , main running script
SET_NOTIFICATION_EMAIL
, email where notification is sent, default: root@localhostSET_SMTP_SERVER_URL
, .muttrc compatible SMTP url, default: 127.0.0.1SET_SMTP_PASS
, Password for authentificationSET_EMAIL_FROM
, email of notification is sent from, default: certspotter@localhostSET_EMAIL_SUBJ
, subject of notification email, default: CertSpotter ReportSET_SLEEP_TIME
, sleep time in sleep compatible format, default: 1hSET_WATCHLIST_CONTENT
, content of watchlist file, each domain is separated by semicolon ';'SET_CERTSPOT_ARGS
, custom additional args for certspotter commandSET_MUTTRC_FILE
, custom muttrc file, useful when using ConfigMap in Kubernetes, default: /root/.muttrcSET_MODE
, running mode can be daemon or onetime. Onetime is usefull for Kubernetes CronJobs, run tests and end. default: daemon
Default muttrc file is overwritten each time when run.sh is executed. So if you want use ConfigMap in Kubernetes and specify your own file use SET_MUTTRC_FILE
to set different file for mutt to use.
For watchlist situation is different, If you don't specify SET_WATCHLIST_CONTENT
nohing is generated, so you can use /certspotter/watchlist
even in ConfigMap usecase.
smtp://10.10.10.25
, send mail using SMTP Relay server for our networksmtps://[email protected]:465
, send mail using Gmail
When using AUTH don't forget to also set correct
SET_EMAIL_FROM
SET_SMTP_PASS
Look into examples folder for some Kubernetes deployment example