Smart proxy: Resolving Unable to open keystore with provided password

Smart Proxy stores trusted keys of other Nexuses in kestore files. In rare cases, these keystores may become corrupted. You may notice that Smart Proxy stops working and see a logged message in your Nexus log files similar to:

com.sonatype.nexus.plugins.smartproxy.internal.security.keystore.geronimo.KeystoreException: Unable to open keystore with provided password 

The keystores in question are stored in sonatype-work/nexus/conf/keystore. To resolve the above issue, do the following:

  1. Remove sonatype-work/nexus/conf/keystore/smartproxy, and restart Nexus.
  2. On restart, Nexus will recreate the needed keystores from configuration stored in sonatype-work/nexus/conf/capabilities.xml
  3. Verify that Smart proxy is now working as expected.

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk