6.3.2. 使用安装程序更改 SSL/TLS 证书和密钥
以下流程描述了如何在清单文件中更改 SSL/TLS 证书和密钥。
先决条件
- 证书必须采用 PEM 格式。
- 如果存在中间证书颁发机构,您必须将它附加到服务器证书中。
- 为证书使用正确的顺序:服务器证书首先,后跟中间证书颁发机构。
如需更多信息,请参阅 NGINX 文档中的 ssl 证书部分。
流程
- 将新的 SSL/TLS 证书和密钥复制到相对于 Ansible Automation Platform 安装程序的路径。
将 SSL/TLS 证书和密钥的绝对路径添加到清单文件中。有关 设置这些变量 的指导,请参阅清单文件变量。
-
event-Driven Ansible controller:
automationedacontroller_ssl_cert,automationedacontroller_ssl_key,custom_ca_cert -
平台网关:
automationgateway_ssl_cert,automationgateway_ssl_key,custom_ca_cert -
Automation hub:
automationhub_ssl_cert,automationhub_ssl_key,custom_ca_cert 自动化控制器:
web_server_ssl_cert,web_server_ssl_key,custom_ca_cert注意custom_ca_cert必须是签署中间证书颁发机构的根证书颁发机构。此文件安装在/etc/pki/ca-trust/source/anchors中。
-
event-Driven Ansible controller:
- 运行安装程序。