Hello.
There is a console script that monitors ssl certificates of sites on the server.
We end up with.
This command works on Linux, in FreeBSD the link
What should be done in this case?
There is a console script that monitors ssl certificates of sites on the server.
echo | openssl s_client -servername mydomain.com -connect mydomain.com:443 2>/dev/null | openssl x509 -subject -noout -dates -issuer
We end up with.
Code:
subject=CN = mydomain.com
notBefore=Jul 29 00:00:00 2020 GMT
notAfter=Oct 17 23:59:59 2022 GMT
issuer=C = GB, ST = Greater Manchester, L = Salford, O = Sectigo Limited, CN = Sectigo RSA Domain Validation Secure Server CA
2>/dev/null
does not work.What should be done in this case?