> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kombify.io/llms.txt
> Use this file to discover all available pages before exploring further.

# stackkit verify

> 运行部署后验证检查

运行部署后验证检查。

在部署了 StackKit 的主机上运行只读的部署后检查。

验证器会检查栈规格、部署状态、Docker 守护进程、StackKit 容器、Docker 健康状态，以及可选地检查生成的访问摘要中的 HTTP 路由。

`--host` 及其 SSH 标志（`--user`、`--key`、`--port`、`--remote-dir`、`--legacy-remote-transport`）驱动已停用的原始 SSH 验证器，只有确切的 v0.6 构建才仍会运行它；`--strict` 适用于该验证器和 v0.6 的本地检查。在当前版本上，请在已部署的主机上运行 verify。

```bash theme={null}
stackkit verify [flags]
```

| 标志 | 类型 | 默认值 | 说明 |
| - | - | - | - |
| `--artifact-manifest` | string | — | Architecture v2 生成清单（默认：\<outputRoot>/.stackkit/generation-manifest.json） |
| `--generation-receipt` | string | — | Architecture v2 生成回执（默认：\<outputRoot>/.stackkit/generation-receipt.json） |
| `--host` | string | — | 通过 SSH 验证的远程主机 |
| `--http` | bool | — | 通过 HTTP 请求验证生成的服务 URL |
| `--inventory` | string | — | Architecture v2 观测到的 Inventory（否则会选取一个常规的 inventory 文件） |
| `--json` | bool | — | 输出机器可读的 JSON |
| `--key` | string | — | 用于远程验证的 SSH 私钥路径 |
| `--legacy-remote-transport` | bool | — | 显式允许对 StackSpec v1 目标使用已弃用的原始 SSH 验证器 |
| `--offline` | bool | — | 在无网络访问的情况下验证缓存的发布回执和证明 |
| `--port` | int | `22` | 用于远程验证的 SSH 端口 |
| `--remote-dir` | string | `/opt/stackkit` | 远程 StackKit 工作目录 |
| `--resolved-plan` | string | — | Architecture v2 规范的 ResolvedPlan（默认：\<outputRoot>/.stackkit/resolved-plan.json） |
| `--strict` | bool | — | 将警告视为验证失败 |
| `--user` | string | — | 用于远程验证的 SSH 用户名 |

**示例**

```bash theme={null}
# Verify the applied deployment on this host
stackkit verify

# Also request the generated service URLs over HTTP
stackkit verify --http

# Emit the verification report as JSON
stackkit verify --json

# Check recorded Apply evidence and cached release receipts without live probes or network access
stackkit verify --offline
```

子命令：[`stackkit verify client-trust`](#stackkit-verify-client-trust)

## stackkit verify client-trust

验证客户端的公共 Owner-CA 和限定范围 DNS 托管。

在此已安装主机上验证已签名的公共 CA 和局域网解析器交接。使用 `--export` 时，准备 Linux OS 信任适配器。此命令不验证应用运行时，不批准客户端信任，不签发设备凭据，也不建立服务会话。

```bash theme={null}
stackkit verify client-trust [flags]
```

| 标志 | 类型 | 默认值 | 说明 |
| - | - | - | - |
| `--export` | bool | — | 从经过认证的公共托管导出 .stackkit/client-trust/enroll-linux.sh |
| `--json` | bool | — | 以 JSON 输出准备好的公共信任交接 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.