Skip to content

Instantly share code, notes, and snippets.

@nsuan
Created June 25, 2018 23:52
Show Gist options
  • Save nsuan/43a62e99b139bb3b8ca806eb0a3a7b85 to your computer and use it in GitHub Desktop.
Save nsuan/43a62e99b139bb3b8ca806eb0a3a7b85 to your computer and use it in GitHub Desktop.
[tevruden@dropbox ~]$ echo | openssl s_client -connect dropbox.nonexiste.net:443 | openssl x509 -noout -dates
depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
verify return:1
depth=0 CN = roliath.nonexiste.net
verify return:1
DONE
notBefore=May 31 23:00:17 2018 GMT
notAfter=Aug 29 23:00:17 2018 GMT
[tevruden@dropbox ~]$ sudo service nginx reload
Password:
Performing sanity check on nginx configuration:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
[tevruden@dropbox ~]$ echo | openssl s_client -connect dropbox.nonexiste.net:443 | openssl x509 -noout -dates
depth=2 O = Digital Signature Trust Co., CN = DST Root CA X3
verify return:1
depth=1 C = US, O = Let's Encrypt, CN = Let's Encrypt Authority X3
verify return:1
depth=0 CN = roliath.nonexiste.net
verify return:1
DONE
notBefore=Jun 25 17:20:14 2018 GMT
notAfter=Sep 23 17:20:14 2018 GMT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment