Skip to main content Skip to complementary content

(Optional) For users who use HTTPS protocol to access their Nexus instance without a known certificate

If you already have a Nexus instance with an SSL certificate that is not recognized in your Java environment, you need to do migrate it.

About this task

Availability-noteDeprecated
Nexus 2 is deprecated from 8.0 onwards.

Procedure

  1. Download the certificate from the Nexus server:
    openssl s_client -connect <server>:<port> -showcerts > myserver_cert
  2. Install it into the Java instance used to launch the migration tool:
    keytool -importcert -trustcacerts -file myserver_cert -alias ca_alias -keystore "<JRE_HOME>\lib\security\cacerts"

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!