Difference between revisions of "Certbot"
Jump to navigation
Jump to search
(command to view certificate contents) |
(add keytool example) |
||
Line 64: | Line 64: | ||
: You can view the 'Security' pane in Chrome Developer Tools, but for quicker access from the command-line, use '''openssl''' | : You can view the 'Security' pane in Chrome Developer Tools, but for quicker access from the command-line, use '''openssl''' | ||
: <source lang="bash">sudo openssl x509 -in /etc/haproxy/certs/demo.qualitybox.us.pem -text</source> | : <source lang="bash">sudo openssl x509 -in /etc/haproxy/certs/demo.qualitybox.us.pem -text</source> | ||
+ | : Using <code>keytool</code> you can also quickly inspect the certificate of a host: | ||
+ | : <source lang="bash">sudo keytool -printcert -sslserver equality-tech.com</source> | ||
; How do I expand a cert to include some sub-domains? (wildcard certs are not supported): | ; How do I expand a cert to include some sub-domains? (wildcard certs are not supported): |