TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How can one test if the connection to a site is secure and encrypted?

4 点作者 gymshoes超过 6 年前
Assuming that the firmware on a router is infected or something like https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=18086418 and I want to know if I am connected to the proper website?<p>Also, can one check if keystrokes are being recorded?

1 comment

db48x超过 6 年前
You see that lock icon in your browser&#x27;s url bar? If you see that, then you&#x27;re using an encrypted connection, and your browser was able to verify that the site&#x27;s SSL certificate is valid and is signed by at least one trusted Certificate Authority. You can click on it to get more information about the certificate, which CA or CAs its signed by, how long it&#x27;ll be valid for, etc.<p>If the firmware on your router is replaced by a malicious program, then it could intercept all SSL connections and handle them itself. However, it will not be able to present a valid certificate, signed by a real Certificate Authority. Thus the lock icon will show as broken, and you&#x27;ll know that something is wrong.<p>Note that in a corporate setting, it&#x27;s not unheard of for an employer to add itself as a trusted Certificate Authority on your work computer. This allows them to intercept all encrypted SSL traffic and also have the lock icon not be broken. Of course there&#x27;s absolutely nothing wrong with this, because your employer is perfectly trustworthy and would never betray you or spy on you.