This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.6.3.7.2. 生成自签名证书(可选)
为 registry 节点生成自签名证书,并将其放在 /opt/registry/certs
目录中。
流程
根据情况调整证书信息。
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 注意当替换
<Country Name>
时,请确保它只包含两个字母。例如,US
。使用新证书更新 registry 节点的
ca-trust
。sudo cp /opt/registry/certs/domain.crt /etc/pki/ca-trust/source/anchors/ sudo update-ca-trust extract
$ sudo cp /opt/registry/certs/domain.crt /etc/pki/ca-trust/source/anchors/ $ sudo update-ca-trust extract
Copy to Clipboard Copied! Toggle word wrap Toggle overflow