DEV Community

Discussion on: What was your win this week?

Collapse
 
downey profile image
Tim Downey

Learned a lot more about Istio, Envoy, and TLS. 🤯

Specifically, I learned about alpn, how Istio configures Envoy to route based on it, and how it can be set using OpenSSL's s_client. My path ultimately led to this... 😂

echo -e "GET /headers HTTP/1.1\r\nHost: s-07a0552a-e09a-4ac7-a4b7-f036921f99d7.cf-workloads.svc.cluster.local\r\n" | openssl s_client -quiet     -CAfile /etc/certs/root-cert.pem     -cert /etc/certs/cert-chain.pem     -key /etc/certs/key.pem     -servername s-07a0552a-e09a-4ac7-a4b7-f036921f99d7.cf-workloads.svc.cluster.local     -connect s-07a0552a-e09a-4ac7-a4b7-f036921f99d7.cf-workloads.svc.cluster.local:8080 -alpn istio