I'm getting the error: requested domain name does not match the server’s certificate when they do match. #12901
Unanswered
monkey-shines
asked this question in
Help
Replies: 0 comments
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.
-
Ask a Question!
I have created several self signed certificates for secure web interfaces in my home lab. The certificates are generally working correctly after I import the root ca into the trusted root certificates for windows. I am having trouble with a portainer container accessing via the google chrome and mozilla firefox browser.
I get the error: requested domain name does not match the server’s certificate.
A more complete description of my steps.
My docker run command:
docker run -d -p 9443:9443 -p 8000:8000
--name portainer --restart always
-v /var/run/docker.sock:/var/run/docker.sock
--hostname docker.home.arpa
-v portainer_data:/data
-v /etc/ssl/certs:/certs
portainer/portainer-ce:latest
--tlscert /certs/docker.home.arpa.crt
--tlskey /certs/docker.home.arpa.key
I realize this might not be a portainer issue specifically. Could the port not being 80 cause a mismatch? It does not seem like it. To use a self-signed cert is it required that I spin up a container via macvlan? I am out of ideas and would welcome any input. Thank you in advance for reading.
Beta Was this translation helpful? Give feedback.
All reactions