为 Nexus 3 启用 SSL - 8.0

Talend安装指南

Version
8.0
Language
中文(简体)
Operating system
Windows
Subscription type
订阅
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend ESB
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend MDM Server
Talend MDM Web UI
Talend Runtime
Talend SAP RFC Server
Talend Studio
Content
安装和升级
Last publication date
2022-10-30
提示: 有关 Nexus 目录的更多信息,参见 https://help.sonatype.com/repomanager3/installation-and-upgrades/directories

步骤

  1. 将密钥库文件复制到 $install-dir\etc\ssl 文件夹。
  2. 编辑 $data-dir\etc\nexus.properties 文件,添加 SSL 端口并引用 SSL 配置文件。
    # Jetty section
    application-port=8081
    application-port-ssl=8441
    application-host=0.0.0.0
    nexus-args=${jetty.etc}/jetty.xml,${jetty.etc}/jetty-http.xml,${jetty.etc}/jetty-https.xml,${jetty.etc}/jetty-requestlog.xml
    nexus-context-path=/
  3. 编辑 SSL 配置文件 $install-dir\etc\jetty\jetty-https.xml,设置证书及密码:
    <New id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory">
      <Set name="KeyStorePath"><Property name="ssl.etc"/>/keystore.jks</Set>
      <Set name="KeyStorePassword">password</Set>
      <Set name="KeyManagerPassword">password</Set>

    因为密钥库文件必须位于一个特定的目录,配置中的路径必需为密钥库的文件名 (紧随一个斜杠)。

  4. 启动 Nexus,您即可通过 SSL 端口登录 Nexus URL。