cert check

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2023-03-22 22:55:45 +00:00
parent bbe64cd767
commit f789009268
3 changed files with 17 additions and 1 deletions

View File

@ -36,3 +36,7 @@ status:
renew-cert: renew-cert:
service nginx stop service nginx stop
acmetool --xlog.severity=debug reconcile acmetool --xlog.severity=debug reconcile
log:
tail -f /var/log/nginx/access.log /var/log/nginx/error.log
journalctl -n 100 -f _SYSTEMD_UNIT=nginx.service

11
gui/Makefile Normal file
View File

@ -0,0 +1,11 @@
all:
# go get -v check.lab.wit.org/gui
# go install -v check.lab.wit.org/gui
cert-check:
# openssl s_client -connect check.lab.wit.org:443 -showcerts
openssl s_client -CApath /etc/ssl/certs/ -connect check.lab.wit.org:443 -showcerts
cert-lets-check:
openssl s_client -CApath /etc/ssl/certs/ -connect valid-isrgrootx1.letsencrypt.org:443 -showcerts

View File

@ -38,7 +38,8 @@ server {
# include snippets/snakeoil.conf; # include snippets/snakeoil.conf;
root /var/www/html; # root /var/www/html;
root /home/check.jcarr.wit.com/;
# Add index.php to the list if you are using PHP # Add index.php to the list if you are using PHP
index index.html index.htm index.nginx-debian.html; index index.html index.htm index.nginx-debian.html;