我需要与 Knative 建立安全连接。
尝试了一百万,并在我的头顶 - 以下场景:
WORKED:
|----------------------------------------------------------------------------|--------------------------------------------|
| 1. curl -H "Host: my-servivce.default.mydomin.com" http(s)://mydomain.com | knative-ingress-gateway(tls with cert.pem) |
|----------------------------------------------------------------------------|--------------------------------------------|
| 2. unsecure gRPC port:80 | knative |
|----------------------------------------------------------------------------|--------------------------------------------|
NOT WORKING:
|-----------------------------|------------------------------------------------------------------------------------------------|
| 3. unsecure gRPC port:443 | knative-ingress-gateway(tls PASSTHROUGH) |
|-----------------------------|------------------------------------------------------------------------------------------------|
| 4. --//-- | knative-ingress-gateway(tls with cert.pem) using same working certificate as for 1. (curl) |
|-----------------------------|--------------------------------------------|---------------------------------------------------|
| 5. secure gRPC(cert from 4.)| knative-ingress-gateway(tls PASSTHROUGH) | gRPC secure server OpenSSL mydomain.com |
|-----------------------------|--------------------------------------------|---------------------------------------------------|
| 6. OpenSSL secure gRPC | knative-ingress-gateway(tls PASSTHROUGH) | gRPC secure server OpenSSL mydomain.com |
|-----------------------------|--------------------------------------------|---------------------------------------------------|
| 7. --//-- | knative-ingress-gateway(tls PASSTHROUGH) | gRPC secure server OpenSSL internall host domain |
|-------------------------- |--------------------------------------------|---------------------------------------------------|
如果你有任何使用 TLS 或 http(s) 的东西,或者知道有谁有,我非常想知道?
提前致谢