title | linkTitle | weight | type |
---|---|---|---|
Installing cert-manager for TLS certificates |
Installing cert-manager |
62 |
docs |
Install the Cert-Manager tool to obtain TLS certificates that you can use for secure HTTPS connections in Knative. For more information about enabling HTTPS connections in Knative, see Configuring HTTPS with TLS certificates.
You can use cert-manager to either manually obtain certificates, or to enable Knative for automatic certificate provisioning. Complete instructions about automatic certificate provisioning are provided in Enabling automatic TLS cert provisioning.
Regardless of if your want to manually obtain certificates, or configure Knative for automatic provisioning, you can use the following steps to install cert-manager.
You must meet the following requirements to install cert-manager for Knative:
0.12.0
or higher.Use the following steps to download, install, and configure cert-manager for your Knative cluster environment:
Follow the steps in the official cert-manager
website to download and install cert-manager
Configure which DNS provider is used to validate the DNS-01 challenge requests.
By default, the Let's Encrypt is used to
demonstrate how to configure cert-manager, but you can use other supported
CA's that issue certificates with the ACME protocol. However, you must use
the
DNS-01
challenge type
to validate requests.
Instructions about configuring cert-manager for any of the supported DNS providers are provided in DNS01 challenge providers and configuration instructions.
Example:
See how the Google Cloud DNS is defined as the provider: Configuring HTTPS with cert-manager and Google Cloud DNS
Post-install cleanup
Run the following commands to remove the cert-manager install packages:
cd ../
rm -rf cert-manager-${CERT_MANAGER_VERSION}
rm v${CERT_MANAGER_VERSION}.tar.gz
Before you can use a TLS certificate for secure connections, you must finish configuring Knative:
Manual: If you installed cert-manager to manually obtain certificates, continue to the following topic for instructions about creating a Kubernetes secret: Manually adding a TLS certificate
Automatic: If you installed cert-manager to use for automatic certificate provisioning, continue to the following topic to enable that feature: Enabling automatic TLS certificate provisioning in Knative
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )