You are viewing documentation for a release that is no longer maintained. To view the documentation for the most recent version, see the latest RHACS docs.
1.2. 配置 Sensor 以信任自定义证书
如果您使用不全局信任的自定义证书,您必须将 Sensor 配置为信任您的自定义证书。否则,您可能会收到错误。特定类型的错误可能因您的设置以及您使用的证书而有所不同。通常,它是一个 x509 验证
相关错误。
如果您使用全局可信证书,则不需要将 Sensor 配置为信任您的自定义证书。
1.2.1. 下载传感器捆绑包
Sensor 捆绑包包括安装 Sensor 所需的配置文件和脚本。您可以从 RHACS 门户下载 Sensor 捆绑包。
流程
- 进入 RHACS 门户。
-
进入 Platform Configuration
Clusters。 - 点 New Cluster 并指定集群的名称。
如果您要在同一集群中部署 Sensor,请接受所有字段的默认值。否则,如果您部署到另一个集群,将地址
central.stackrox.svc:443
替换为负载均衡器、节点端口或其他地址(包括端口号),可以从您要安装的其他集群访问。注意如果您使用一个支持非gRPC 的负载均衡器,如 HAProxy、AWS Application Load Balancer(ALB)或 AWS Elastic Load Balancing(ELB)使用 WebSocket Secure(
wss
)协议。使用ws
:-
使用
wss://
和前缀 -
在地址后添加端口号,例如
ws://stackrox-central.example.com:443
。
-
使用
- 点 Next 继续。
- 点 Download YAML File and Keys。