<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">
<div dir="auto">Line 130 s/-eq/=/
<div dir="auto"><br /></div>
<div dir="auto">Otherwise, cool! Thanks!</div>
</div>
</div>
<div name="messageSignatureSection"><br />
<div class="matchFont">../Dave</div>
</div>
<div name="messageReplySection">On Aug 10, 2019, 5:32 PM -0400, Jason Shaw via talk <talk@gtalug.org>, wrote:<br />
<blockquote type="cite" class="spark_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #1abc9c;">
<div dir="ltr">Looks like a handy script to have.  My only real suggestion is to change the shebang to<br />
<div><strong><code>#!/usr/bin/env bash</code></strong></div>
<div>as it's more portable than the current one.  Still not perfect, but works reliably on more systems.</div>
<div><br /></div>
<div>-jason<br /></div>
</div>
<br />
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sat, Aug 10, 2019 at 11:46 AM Giles Orr via talk <<a href="mailto:talk@gtalug.org">talk@gtalug.org</a>> wrote:<br /></div>
<blockquote class="gmail_quote spark_quote" style="margin: 5px 5px; padding-left: 10px; border-left: thin solid #e67e22;">
<div dir="ltr">This may be seen as self-promotion - that's not totally wrong.  But I think this may also be useful to others and (as I acknowledge in the blog post) I'm quite pleased with the resultant script.<br />
<br />
Over the past year and a half I've slowly developed a shell script that gives a concise summary of the state of TLS and HTTP(S) on a given website.  It looks like this:<br />
<br />
    $ tlsdetails <a href="http://google.ca" target="_blank">google.ca</a><br />
    Using OpenSSL:  /usr/bin/openssl<br />
    Expiry Date:    Oct 27 17:27:07 2019 GMT (78 days)<br />
    Issuer:         Google Trust Services, CN<br />
    TLS Versions:   tls1_3 tls1_2 tls1_1 tls1  (tried but unavailable: ssl3 ssl2 )<br />
    HTTP Version:   2<br />
<div><br /></div>
<div>
<div>I first started work on it after a couple embarrassing certificate expiries.  It then grew to check the Issuer, TLS versions, and more recently whether or not a site supports HTTP2.</div>
<div><br /></div>
<div>(The pointer to the OpenSSL version is shown because the script will also run on Mac, and their version of 'openssl' is problematic at best.  That line is of course easy to remove if you don't like it.)</div>
<div><br /></div>
If you're interested, you can find the details here:<br /></div>
<br />
<div><a href="https://www.gilesorr.com/blog/tls-https-details.html" target="_blank">https://www.gilesorr.com/blog/tls-https-details.html</a></div>
<div><br /></div>
Any suggestions to improve the script would be most welcome.<br />
<div><br /></div>
--<br />
<div dir="ltr" class="gmail-m_-2708759954587968334gmail_signature">Giles<br />
<a href="https://www.gilesorr.com/" target="_blank">https://www.gilesorr.com/</a><br />
<a href="mailto:gilesorr@gmail.com" target="_blank">gilesorr@gmail.com</a></div>
</div>
---<br />
Post to this mailing list <a href="mailto:talk@gtalug.org" target="_blank">talk@gtalug.org</a><br />
Unsubscribe from this mailing list <a href="https://gtalug.org/mailman/listinfo/talk" rel="noreferrer" target="_blank">https://gtalug.org/mailman/listinfo/talk</a><br /></blockquote>
</div>
---<br />
Post to this mailing list talk@gtalug.org<br />
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk<br /></blockquote>
</div>
</body>
</html>