K8s Ingress and TLS

Hey all,

I'm trying to get Https redirect working in GKE and I have no trouble getting http to work to my pod. I have no trouble getting 302 redirect (http -> https) but when I attempt to curl the https ingress, I get:

[dc0817@M634 devops (⎈ |bean:kube-system)]$ curl -v https://my.domain
* Rebuilt URL to: https://my.domain/
*   Trying 35.230.73.90...
* TCP_NODELAY set
* Connected to my.domain (35.230.73.90) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
* stopped the pause stream!
* Closing connection 0
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number

Would love some help on this.

1 Like