I have a domain at Cloudflare and some wildcards for subdomains
which both point to the load balancer of an nginx ingress of a Kubernetes cluster (GKE) of the GCP. Now, we have two pods and services running each (echo1 and echo2, which are essentially identical) and when I apply an ingress
kind: Ingress
metadata:
name: echo-ingress
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
spec:
rules:
- host: "echo1.eu3.example.com"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: echo1
port:
number: 80
- host: "echo2.example.com"
http:
paths:
- pathType: Prefix
path: "/"
backend:
service:
name: echo2
port:
number: 80
I can reach echo2 under echo2.example.com , but not echo1.eu3.example.com . My question is how I can make the second one reachable as well.
KianNH
June 20, 2022, 10:51pm
2
Do you have Advanced Certificate Manager?
Universal SSL doesn’t cover subdomains that are two levels deep.
This tutorial is deprecated in favour of Fix VERSION_OR_CIPHER_MISMATCH · Cloudflare SSL/TLS docs
Archive This tutorial covers a possible reason for the SSL_ERROR_NO_CYPHER_OVERLAP and ERR_SSL_VERSION_OR_CIPHER_MISMATCH errors (Firefox and Chrome respectively) when seen on a subdomain.
The Cloudflare universal certificates cover example.com and *.example.com. This means that it covers any subdomain one level below the domain you signed up with.
It will cover www.example.com and subdomain.exampl…
1 Like
Hi @KianNH ,
many thanks for your reply.
How does it work with Advanced Certificate Manager? Can I buy one certificate for . .example.com and . .*.example.com or do I have to buy one for each domain? Also it could be that I have several regions to which I want to direct traffic like *.eu1.example.com, . .eu1.example.com, *.us1.example.com and . .us1.example.com.
Is it possible to buy just one certificate and have access to all those regions or do I have to buy one for each?
KianNH
June 21, 2022, 3:33pm
4
You get 100 advanced certificates and each one can have up to 50 hostnames, including wildcards - for $10/month/zone
@KianNH Okay, so I could buy one certificate and then just add
*.eu.example.com
*.us.example.com
. .eu.example.com
. .us.example.com
and all that with just one certificate?
KianNH
June 21, 2022, 3:49pm
6
I mean theoretically, yeah - but you don’t buy a certificate.
You buy a subscription to ACM for $10/month that entitles you to 100 certificates. If you use 1 or 100, the pricing is the same.
But just to be clear, I could also add some double wildcards like * . * .eu.example.com and * . * .us.example.com?
That would be awesome.
Multiple wildcards in a SAN are not an option.
Hi @lordgordon, Unfortunately RFC 2818 is not relevant to today’s internet - that’s a dinosaur of an RFC that has long been supplanted by others. The particulars of the Web PKI are primarily specified in RFC 5280, and it washes its hands of how...
system
Closed
July 6, 2022, 5:43pm
9
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.