trimstray / htrace.sh

My simple Swiss Army knife for http/https troubleshooting and profiling.
GNU General Public License v3.0
3.75k stars 233 forks source link

SSL Certificate chain display with -s #70

Closed EppO closed 5 years ago

EppO commented 5 years ago

Hi,

It would be very handy to have the certificate chain displayed when running htrace.sh with -s argument, the only way so far is to run openssl by hand or use --sslabs and wait for the report to generate.

Thanks for this tool, really useful!

trimstray commented 5 years ago

Hi @EppO !

Please pull new changes and test it.

I'm waiting for you opinion.

EppO commented 5 years ago

Awesome! I love how you make it look pretty. I noticed some issues though:

EppO commented 5 years ago

For the colors always on bug, I tried to rollback to 64e33d7af086d46d5b11b8290e97410fa7fbd270 and the parameter worked! so b877688ac6a8cd0813a7e880a7e5d6eb6afd4c45 is the commit introducing the change of behavior.

EppO commented 5 years ago

Just tried with badssl.com and I observe the same issue htrace-badssl

trimstray commented 5 years ago

Dear @EppO!

Thanks for this. First of all:

Please see also wiki for other information ;) but also something about funny icons:

I'll add these info about icons to the wiki.

EppO commented 5 years ago

Amazing!! It works great! Thanks for the quick fix, really appreciated.

What is the 2x? I can see it next to a root CA in the trust store:

            └─2:DigiCert Global Root G2 ✓ ⊙ 2x
                └ DigiCert Global Root G2
trimstray commented 5 years ago

Ohh... i forgot about it:

EppO commented 5 years ago

Oh my! that's true, in the test I made, the Root CA was bundle with the server+intermediate certificates, my bad! This goes beyond my expectations, thanks again. Your tool was amazingly useful, you just made it even better.