How do you configure TLS termination for an OpenShift Route when you have a certificate and private key?

Prepare for the Red Hat Openshift Developer EX288 Exam. Study with comprehensive quizzes and flashcards. Each question includes hints and explanations to enhance your understanding. Ace your exam with confidence!

Multiple Choice

How do you configure TLS termination for an OpenShift Route when you have a certificate and private key?

Explanation:
TLS termination is configured directly on the Route resource. You specify the termination type (edge, reencrypt, or passthrough) in the Route’s TLS section and provide the PEM-encoded certificate and private key that the OpenShift router will present to clients. This is how the router handles TLS for traffic coming from outside the cluster and then routes it to the backend service. The other resources aren’t suited for configuring how the router handles TLS. Ingress is a Kubernetes construct, not the OpenShift Route, and Deployment or Pod manifests don’t define how TLS is terminated at the router. Annotations on a Pod likewise don’t control the router’s TLS termination behavior.

TLS termination is configured directly on the Route resource. You specify the termination type (edge, reencrypt, or passthrough) in the Route’s TLS section and provide the PEM-encoded certificate and private key that the OpenShift router will present to clients. This is how the router handles TLS for traffic coming from outside the cluster and then routes it to the backend service.

The other resources aren’t suited for configuring how the router handles TLS. Ingress is a Kubernetes construct, not the OpenShift Route, and Deployment or Pod manifests don’t define how TLS is terminated at the router. Annotations on a Pod likewise don’t control the router’s TLS termination behavior.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy