Unable to register a own gitlab container registry in portainer with self signed cert - x509: certificate signed by unknown authority #9881
Spotterday
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Portainer includes within the image it's own versions of the Docker binaries, so changes that you make at the host side may not affect the tooling that Portainer itself uses. In saying that, we don't currently support custom CAs for custom registries. This is something we're looking at for the future, though. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Before you start, we need a little bit more information from you:
Use Case (delete as appropriate): Using Portainer at Home
Have you reviewed our technical documentation and knowledge base? Yes
Hi team,
i´m running currently Portainer Business Edition 2.16.1 on an raspberry 4b
with an additional gitlab container in a macvlan. Both portainer and gitlab are in the same subnet 192.168.10.0/24 without any fw restrictions.
Everything working fine at the moment, but only the registry makes problem and that only under portainer.
I´m unable to register my registry as gitlab or custom registry.
My gitlab container is deployed with an ENV GITLAB_OMNIBUS_CONFIG :
GITLAB_OMNIBUS_CONFIG = external_url 'https://gitlab.fritz.box'; nginx['ssl_certificate']='/etc/gitlab/ssl/gitlab.fritz.box.crt'; nginx['ssl_certificate_key']='/etc/gitlab/ssl/gitlab.fritz.box.key'; nginx['redirect_http_to_https'] = true; registry_external_url 'https://gitlab.fritz.box';
Gitlab GIT repositories and the registry itself is accessible via HTTPS, no problem, push / pull and search working from my pi and clients
I also attached by CA certificate to
/etc/ssl/certs/ca-certificates.crt
and alsoupdate-ca-certificates
.Even i pushed the gitlab chain cert to
/etc/docker/certs.d/gitlab.fritz.box:443/ca.crt
But when i try to register my registry as gitlab registry in portainer i got the message "Unable to retrieve projects"
and my docker log shows :
I´m confuesed Portainer uses the docker from my pi or does it have its own "client / cli" instance ?
Maybe someone has a hint for me
I tried also with
Beta Was this translation helpful? Give feedback.
All reactions