Connot pull from OKD cluster via pod or oc command with error x509: certificate is valid for ***Clusterdomain *** , not *** registry-1.docker.io *** #1701
Replies: 4 comments 3 replies
-
Perhaps |
Beta Was this translation helpful? Give feedback.
-
Hi Here are my dns records definitions:
Docker
Quay.io
|
Beta Was this translation helpful? Give feedback.
-
Hi Richard Output from Testing DNS Host (192.168.179.74)When testing the dnsmasq server using the suggested command I noted that the output contains the URL openshift.apps.test.fritz.box.test.fritz.box which has test.fritz.box appended. This is the FQDN mentioned in OCP DNS Cluster Pod (see last section). I was expecting that openshift.apps.test.fritz.box.
Pod don't (and won't let it be installed) have tcpdump and therefore, could not trial this. DNS Resolution FlowDNS resolution it seems that pod follows the below flow:
When testing with DIG it works in the pod, OCP DNS Cluster Pod and Dnsmsq Server. Details of DNS Cluster service: List of OCP Cluster DNS pods:
Resolv.confg
OCP DNS Cluster Pod: resolv.conf file
TiA |
Beta Was this translation helpful? Give feedback.
-
Hi Thanks heaps. I found the issue was that I had this line in the dnsmasq.conf file: Taking this out solved the issue. Thanks so much. Regards |
Beta Was this translation helpful? Give feedback.
-
Hi
I have a basic installation cluster OKD4.13. Nothing is installed on it just yet.
Describe the bug
It seems that when pulling from repositories such as docker or quay.io it errors saying the unsigned certificate is incompatible with the docker/quay certificate. Also tried deploying springboot application using JKube and received the same error message.
Unsure why pulling it is concerned with the cluster's unsigned certificate when it is accessing and handshaking with the repos certificate which is signed.
The below errors show when pulling from the docker (or quay) repos:
(x509: certificate is valid for *.apps.test.fritz.box, not registry-1.docker.io)
Version
4.13.0-0.okd-2023-08-04-164726
UPI
How reproducible
Execute below commands for Docker and Quay.
Accessing Docker
Command:
oc import-image myproject/myimage-ref-source:mytag --from="docker.io/balazsszeti/hello:sleeper" --confirm
Output:
Accessing Quay.io
Command:
oc import-image quay.io/andreipope/podman-nuxtjs-demo --confirm
Output:
View Certificate
Command:
openssl s_client -connect quay.io:443
Output:
TIA
Glenn
Beta Was this translation helpful? Give feedback.
All reactions