> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/zh/ports-and-services/http-and-https-80-443/web-certificate-analysis-tools.md).

# Web 证书扫描工具

### OpenSSL（检查证书）：

```bash
openssl s_client -connect website.com:443
```

此命令用于检查 Web 服务器的 SSL 证书。它连接到服务器的 443 端口，并显示证书有效性、到期日期和加密类型等详细信息。

### Sslyze（SSL 安全扫描）：

<pre class="language-bash"><code class="lang-bash"><strong>sslyze website.com
</strong></code></pre>

<figure><img src="/files/f863d94b95ce3eb846259ac718391c67e851466c" alt="" width="563"><figcaption></figcaption></figure>

### Sslscan（SSL 安全扫描）：

```bash
sslscan website.com
```

<figure><img src="/files/dedad18621509302e0db15ef619cd3d9b2f4f892" alt=""><figcaption></figcaption></figure>

### Nmap（存在 Heartbleed 漏洞）：

1. 使用 `ssl-heartbleed` Nmap 脚本：

```bash
nmap --script ssl-heartbleed -p8443 127.0.0.1
```

<div data-full-width="true"><figure><img src="/files/be9bc5c8a090f086cfd1ffa9882385b9187811fd" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hacking-notes.jord4n.pro/zh/ports-and-services/http-and-https-80-443/web-certificate-analysis-tools.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
