konklone / shaaaaaaaaaaaaa

Check if a website has weak SHA-1 TLS certificates.
https://shaaaaaaaaaaaaa.com
BSD 3-Clause "New" or "Revised" License
207 stars 27 forks source link

Nicer error message when no certs could be found for a site #88

Open saxbophone opened 8 years ago

saxbophone commented 8 years ago

I tried this with my own very simple site, which has no HTTPS at all. https://shaaaaaaaaaaaaa.com/check/saxbophone.com

Instead of saying no certs could be found or something similar, it says Argh, there has been an error and advises me to check the console.

Checking the console reveals that no certs could be found, but it'd be nice to see this in the UI.

konklone commented 8 years ago

It's a good idea! If anyone wants to tackle this, they're welcome to - I won't have time to do this in the near future.

rajatRS commented 3 years ago

I have made a pull request, fixing this. Please, see If its good enough for you to merge that and do let me know your views. :)

saxbophone commented 3 years ago

I should hasten to add, that saxbophone.com may no longer present a good test case as I now have HTTPS on that domain...