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:
- Remove sonatype-work/nexus/conf/keystore/smartproxy, and restart Nexus.
- On restart, Nexus will recreate the needed keystores from configuration stored in sonatype-work/nexus/conf/capabilities.xml
- Verify that Smart proxy is now working as expected.