How to add Jfrog Artifactory as a docker registry in Spinnaker?


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

hal config provider docker-registry account add jfrog-stage \
    --address $ADDRESS \
    --repositories $REPOSITORIES \
    --username $USERNAME \

However, I get the following error:

Problems in
! ERROR Unable to reach repository: Hostname not verified:
    certificate: sha1/iIkgakshaaukdhdhidhiudsihsdih=
    DN: CN=*
    subjectAltNames: [*,].

Does anyone have any experience setting up JFrog registry on Spinnaker? Any pointers would be greatly appreciated. Thanks.