大网数据广告活动
服务器运维问答

How to change the default certificate chain in Kubernetes Ingress

· 52CE 我爱测

I'm using AKS on Azure and Ingress with Let's Encrypt certificate (configured by https://docs.microsoft.com/en-us/azure/aks/ingress-static-ip ) The certificate chain defaults to DST Root CA X3 but I would like to change it to alt…

问题原文

原帖链接 · Ondřej Míchal · CC BY-SA 4.0

I'm using AKS on Azure and Ingress with Let's Encrypt certificate (configured by https://docs.microsoft.com/en-us/azure/aks/ingress-static-ip)

The certificate chain defaults to DST Root CA X3 but I would like to change it to alternative ISRG Root X1

https://letsencrypt.org/certificates/#cross-signing says

Almost all server operators will choose to serve a chain including the intermediate certificate with Subject “Let’s Encrypt Authority X3” and Issuer “DST Root CA X3.”

Can you tell me, how can I change the default intermediate certificate to Let’s Encrypt Authority X3 (Signed by ISRG Root X1)?

I know ISRG Root X1 should become default on September 29, 2020 (https://letsencrypt.org/2019/04/15/transitioning-to-isrg-root.html) so I can just wait (not optimal). But after that this can be useful for someone who needs to keep DST Root CA X3

已采纳解答

原帖链接 · Matt · CC BY-SA 4.0

If you are using cert-manager, optional control of the intermediate certificate isn't available yet.

That doesn't stop you from issuing your own certificate with certbot which has added support to select the chain and installing that on the ingress.

certbot ... --preferred-chain "ISRG Root X1"

Any unknown value for preferred-chain will give you the default chain.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2020-08-12)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。