Check SSL Certificate Expiry on Websites using Custom Script | Zabbix-6 | Lesson-32
HTML-код
- Опубликовано: 12 фев 2024
- Before copy script remember ${2:-443} 2(put here angle barket here) angel barket check in video
data=`echo | openssl s_client -servername $1 -connect $1:${2:-443} 2(put here angle barket here)/dev/null | openssl x509 -noout -enddate | sed -e 's#notAfter=##'`
ssldate=`date -d "${data}" '+%s'`
nowdate=`date '+%s'`
diff="$((${ssldate}-${nowdate}))"
echo $((${diff}/86400))
#sslexpiry
#zabbix
#OnlineITEducation
#OnlineEducation
#ITEducation
#Kamranawan
Thanks for sharing nice information ❤
12❤❤❤like Nice
Very Informative video, I’m very impressed it’s precise and to the point!!!!
Glad it was helpful!
Good job
❤G8 work dear
❤G8 work
Very informative
Glad it was helpful!
very informative
Glad it was helpful!
Great info
Glad it was helpful!