TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

SSL certificate chain resolver

41 pointsby zakjanover 10 years ago

6 comments

laurenceiover 10 years ago
Useful script.<p>A related post worth reading is &quot;Getting an A+ on Qualy&#x27;s SSL Labs Tester&quot; - <a href="https://sethvargo.com/getting-an-a-plus-on-qualys-ssl-labs-tester/" rel="nofollow">https:&#x2F;&#x2F;sethvargo.com&#x2F;getting-an-a-plus-on-qualys-ssl-labs-t...</a><p>Previous HN discussion: <a href="https://news.ycombinator.com/item?id=8749931" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8749931</a>
评论 #8907858 未加载
评论 #8907854 未加载
peterwallerover 10 years ago
I&#x27;ve lost count of how many times I had to try reordering the certificates I fed to Amazon&#x27;s load balancer. You get back very cryptic error messages. Which is annoying since it could almost certainly work out the order for you...<p>This script looks very useful, thanks :)
评论 #8907291 未加载
estover 10 years ago
SSL is hard not only because the pricing barrier, but also setup hassle like these. Thanks OP!
评论 #8908014 未加载
jpetersonmnover 10 years ago
I just went through this issue with my first site I&#x27;ve used ssl on. I thought everything was all good until I visited the site on my phone and got cert errors. Took me all night to figure out how to get them in the correct order, etc... Thanks for sharing this.
praseodymover 10 years ago
One thing to note is that the Qualys SSL Labs test will complain if your server sends the (self-signed) root CA certificate, which will already be in the end-user&#x27;s trust store. This uses unnecessary bandwidth for every TLS negotiation.<p>In many cases, the CA (or company you got your certificate from) will include this root cert in the chain. With most web servers it is perfectly fine to simply remove it, but I have seen applications where you cannot (VMware, which wants a complete chain ending with a self-signed cert) and where you&#x27;ll have to ignore the SSL Labs warning.
评论 #8907526 未加载
评论 #8907740 未加载
cfcfover 10 years ago
thank you very much for this! Added a pull request to fix some issues with relative paths :)
评论 #8907729 未加载