Introduction
Introduction Statistics Contact Development Disclaimer Help
tAdd command to check SSL certificate from CLI - andersdamsgaard.com - my photo…
git clone git://src.adamsgaard.dk/andersdamsgaard.com
Log
Files
Refs
Submodules
README
LICENSE
---
commit 8398660c8908e424a7021278002cba485a20e7e3
parent d2ffb20d43c11043888db84d4bd04014b19fcce5
Author: Anders Damsgaard <[email protected]>
Date: Mon, 24 Jun 2019 09:44:57 +0200
Add command to check SSL certificate from CLI
Diffstat:
M Makefile | 7 +++++++
1 file changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/Makefile b/Makefile
t@@ -30,3 +30,10 @@ generate-letsencrypt-certificate:
.PHONY: renew-letsencrypt-certificate
renew-letsencrypt-certificate: generate-letsencrypt-certificate
+
+.PHONY: check-letsencrypt-certificate
+check-letsencrypt-certificate:
+ echo | openssl s_client -showcerts -servername andersdamsgaard.com \
+ -connect andersdamsgaard.com:443 2>/dev/null | \
+ openssl x509 -inform pem -noout -text
+
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.