I am trying to add JFrog Artifactory as a Docker registry account in my Spinnaker installation. I do the following:
hal config provider docker-registry enable
ADDRESS=server.company.com.jfrog.io
REPOSITORIES=abc/contrepo
[email protected]
hal config provider docker-registry account add jfrog-stage \
--address $ADDRESS \
--repositories $REPOSITORIES \
--username $USERNAME \
--password
However, I get the following error:
Failure
Problems in
default.provider.dockerRegistry.jfrog-stage:
! ERROR Unable to reach repository: Hostname
server.company.com.jfrog.io not verified:
certificate: sha1/iIkgakshaaukdhdhidhiudsihsdih=
DN: CN=*.jfrog.io
subjectAltNames: [*.jfrog.io, jfrog.io].
Does anyone have any experience setting up JFrog registry on Spinnaker? Any pointers would be greatly appreciated. Thanks.
I got same error when i try to add a private artifact address. Solved it by insert the CA certificate of artifact into JDK keystore. Here is the command.
"/etc/ssl/certs/java/cacerts" is keystore file of my environment.
"/tmp/git.cer" is certificate of my artifact address.
Restart halyard after that.
One more note, if the "clouddriver" is running in different server, you also have to update keystore of that server.