I'm migrating the repository. For that i'm following instructions in "CA-Release-Automation-Artifactory-HA-Best-PracticesV2.5" but something goes wrong with the keystore:
In the agent logs:
017-03-21 17:35:48,644 [WrapperSimpleAppMain] ERROR (com.nolio.platform.agent.DeployerLifecycle:506) - failed to start agent
java.lang.Error: Failed to create SSL contexts:Keystore was tampered with, or password was incorrect
I'm sure password is correct.
This is what I did:
After stopping RA, under /opt/ReleaseAutomationServer/conf substituted nolio-repo.properties with
# If you intend to use encrypted repository password, Please use the encrypt_password.bat/sh utility to encrypt the password.
type=artifactory
scheme=https
hostname=ArtifIP
port=443
repositoryPath=/artifactory/nolio
actionRepositoryPath=/artifactory/nolio-actions
manifestRepositoryPath=/artifactory/nolio-manifests
username=myUser
password=myPassword
passwordEncrypted=false
deleteAnonymousUser=false
Then I created the new nolio.jks using myCert.crt, created from Artifactory as follow:
jre/bin/keytool -import -file conf/myCert.crt -alias balanced_load -keystore ./nolio.jks
When asked for a password I've used again myPassword.
When trying to start the RA it doesn't work. Trying with the agent (putting nolio.jks in its conf folder) I 've got the above error.
Any suggestions?