I have been trying to implement HTTPS on a kubernetes cluster on Google Cloud Platform. I cannot understand what else I need to check or look for. I am using a Google Managed certificate.

dig output

; <<>> DiG 9.11.5-P4-5.1+deb10u5-Debian <<>> demo.abhikube.tk
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 59409
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

; EDNS: version: 0, flags:; udp: 512
;demo.abhikube.tk.              IN      A

demo.abhikube.tk.       300     IN      A

;; Query time: 47 msec
;; WHEN: Sun Sep 12 10:00:45 UTC 2021
;; MSG SIZE  rcvd: 61

Command:- openssl s_client -connect demo.abhikube.tk:443 -tls1_2

no peer certificate available
No client certificate CA names sent
SSL handshake has read 0 bytes and written 213 bytes
Verification: OK
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
    Protocol  : TLSv1.2
    Cipher    : 0000
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time: 1631440972
    Timeout   : 7200 (sec)
    Verify return code: 0 (ok)
    Extended master secret: no

I have tried multiple times but Google keeps showing certificate status as FailedNotVisible. What else can I do to fix this? I am not an expert on ssl. Google doc said if the verify return is ok it should work..but it doesn't. The HTTP version works fine.

I ran a check on https://dnssec-analyzer.verisignlabs.com/..it shows

No DS records found for abhikube.tk in the tk zone
    ns-cloud-e2.googledomains.com returns REFUSED for abhikube.tk/DNSKEY
    ns-cloud-e4.googledomains.com returns REFUSED for abhikube.tk/DNSKEY
    ns-cloud-e3.googledomains.com returns REFUSED for abhikube.tk/DNSKEY
    ns-cloud-e1.googledomains.com returns REFUSED for abhikube.tk/DNSKEY
  • 1
    I don't know about the Google managed certificate (those problems seem likely to be related), but the domain name referenced in the question does not seem to have any corresponding zone on the nameservers, hence the REFUSED response to DNS queries. See eg dnsviz.net/d/abhikube.tk/YT3hxw/dnssec Sep 12 at 11:17
  • I think this being a free domain set up on freenom.com is the reason why ssl certificate fails. I have no other way to verify this on kubernetes. Well, I guess I will have to give this up and buy a domain. Sep 12 at 11:30
  • The name does not resolve because abhikube.tk is delegated to ns-cloud-e1.googledomains.com (etc) but those nameservers have no corresponding zone. It seems that "failed not visible" is related to the name not resolving: cloud.google.com/load-balancing/docs/ssl-certificates/… Sep 12 at 11:55
  • I have created a zone there. demo.abhikube.tk . That is the zone which maps to the static IP in the load balancer. So I don't know what is missing from that end. Sep 12 at 11:59
  • Make sure that you’ve completed the DNSSEC setup at your registrar, you can do this by creating a DS record for your domain in the parent zone, so that resolvers know your domain is DNSSEC-enabled and can validate its data.
  • Update your both DNS A and AAAA records to point to the load balancer's IP address, check here for help.
  • Ensure that you didn’t miss any step mentioned here while provisioning Google managed SSL certificates and attached your certificates to correct load balancer.
  • 1
    This was it. Unfortunately I cannot do that because Freenom doesn't support DNSSEC as registrar. Your answer is correct..though. Sep 13 at 10:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.