I wish to deploy a private Docker registry in Jelastic environment.
I've deployed the registry:2 image from the marketplace and, once logged via ssh into the container, generated the CRT and KEY file.
I've defined REGISTRY_HTTP_TLS_CERTIFICATE and REGISTRY_HTTP_TLS_KEY pointing to their respective files into the container.
I've exposed the 5000 port through Jelastic's "endpoint" (resulting mapped to 11000)
But still when I run:
$ docker push node4878-lrkwz-registry.jc.neen.it:11000/dockersymfony_application
The push refers to a repository [node4878-lrkwz-registry.jc.neen.it:11000/dockersymfony_application] (len: 1)
unable to ping registry endpoint https://node4878-lrkwz-registry.jc.neen.it:11000/v0/
v2 ping attempt failed with error: Get https://node4878-lrkwz-registry.jc.neen.it:11000/v2/: x509: certificate is valid for , not node4878-lrkwz-registry.jc.neen.it
v1 ping attempt failed with error: Get https://node4878-lrkwz-registry.jc.neen.it:11000/v1/_ping: x509: certificate is valid for , not node4878-lrkwz-registry.jc.neen.it