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

Duration to provision a new TLS certificate on GCP HTTPS-Load-Balancer?

· 52CE 我爱测

What's the expected duration to provision/finish serving an updated TLS certificate (called "SSL certificate resource" in GCE) for the target HTTPS proxy (part of the GCP HTTPS-Load-Balancer)? Is it documented somewhere? My test …

问题原文

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

What's the expected duration to provision/finish serving an updated TLS certificate (called "SSL certificate resource" in GCE) for the target HTTPS proxy (part of the GCP HTTPS-Load-Balancer)? Is it documented somewhere?

My test below reveals:

  • GCP HTTPS-Load-Balancer needs ca. 8 minutes after updating to serve only the new TLS certificate
  • ... ca. 7 minutes after applying to serve only the old certificate

Test setup

  • 18:44 Update the proxy to use the new TLS certificate (keeping the old certificate_valid-2019-07 as "backup")

      gcloud compute target-https-proxies update NAME --ssl-certificates certificate_valid-2021-07,certificate_valid-2019-07
    
  • (running each 5 seconds: gcloud compute target-https-proxies list --filter="name=NAME") & curl -v https://LOAD_BALANCER_IP 2>&1 | grep "expire date")

  • all requests serve certificate with expire date: 2019-07

  • 18:44:41 switch to SSL resources certificate_valid-2021-07,certificate_valid-2019-07

  • 18:50:26 switch back to SSL resource certificate_valid-2019-07 (automatically done by ingress-gce)

  • 18:52:04 first expire date: 2021-07 appeared

  • 18:52:35 all requests expire date: 2021-07

  • 18:56:34 first expire date: 2019-07 appeared

  • 18:57:10 all requests expire date: 2019-07

已采纳解答

原帖链接 · Ramesh kollisetty · CC BY-SA 4.0

Wait for the replacement SSL certificate to complete provisioning. Provisioning might take up to 60 minutes. When provisioning is complete, the certificate status becomes ACTIVE. After the certificate and domain status are active, the maximum time will be 30 minutes (or 15 minutes in case of self-managed certificates) for your load balancer to begin with your Google-managed SSL certificate. You can use Google-managed SSL certificates or self-managed SSL certificates to renew SSL certificates without any downtime.

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

资料来源与适用范围

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

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

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