搜索

4.3. 导入自定义 SSL 证书

download PDF

在从外部源同步自定义内容前,您可能需要将 SSL 证书导入到自定义产品中。这可能包括您要同步的上游存储库的客户端证书和密钥或 CA 证书。

如果您需要 SSL 证书和密钥下载软件包,您可以将其添加到 Satellite 中。

要使用 CLI 而不是 Satellite Web UI,请参阅 CLI 过程

流程

  1. 在 Satellite Web UI 中,进入到 Content > Content Credentials。在 Content Credentials 窗口中,单击 Create Content Credential
  2. Name 字段中输入您的 SSL 证书的名称。
  3. Type 列表中,选择 SSL Certificate
  4. Content Credentials Content 字段中,粘贴您的 SSL 证书,或者点击 Browse 上传您的 SSL 证书。
  5. 点击 Save

CLI 过程

  1. 将 SSL 证书复制到 Satellite 服务器中:

    $ scp My_SSL_Certificate root@satellite.example.com:~/.

    或者从在线源将 SSL 证书下载到 Satellite 服务器中:

    $ wget -P ~ http://upstream-satellite.example.com/pub/katello-server-ca.crt
  2. 将 SSL 证书上传到 Satellite:

    # hammer content-credential create \
    --content-type cert \
    --name "My_SSL_Certificate" \
    --organization "My_Organization" \
    --path ~/My_SSL_Certificate
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.