Maintenance: GitLab GKE platform upgrade and software upgrade on Friday Oct. 22 at 9 p.m. Service may not be available between 9 p.m. and 9:20 p.m.

Commit e9907d97 authored by Xueshan Feng's avatar Xueshan Feng
Browse files

added check-cert.sh to use openssl s_client to verify cert.

parent 953b3223
#!/bin/sh
fqdn=$1
[ -x $fqdn ] && echo "FQDN of the site is required." && exit 1
echo "" | openssl s_client -servername $fqdn -connect $fqdn:443 2>/dev/null | openssl x509 -text
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment