From a13fb38e66a5ed6a3aea8bd809757f23b8c7f5e2 Mon Sep 17 00:00:00 2001 From: Hanada Date: Tue, 13 May 2025 02:04:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DAWS=20CloudFront=E9=83=A8?= =?UTF-8?q?=E7=BD=B2=E5=87=BD=E6=95=B0=E4=B8=AD=E9=94=99=E8=AF=AF=E7=9A=84?= =?UTF-8?q?=E5=85=A5=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/lib/deploy/aws.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/deploy/aws.php b/app/lib/deploy/aws.php index 1909668..9470c25 100644 --- a/app/lib/deploy/aws.php +++ b/app/lib/deploy/aws.php @@ -45,7 +45,7 @@ class aws implements DeployInterface if (!$certInfo) throw new Exception('证书解析失败'); $cert_id = isset($info['cert_id']) ? $info['cert_id'] : null; - $cert_id = $this->get_cert_id($fullchain, $privatekey, $cert_id, $config['cert_name']); + $cert_id = $this->get_cert_id($fullchain, $privatekey, $cert_id); usleep(500000); $client = new AWSClient($this->AccessKeyId, $this->SecretAccessKey, 'cloudfront.amazonaws.com', 'cloudfront', '2020-05-31', 'us-east-1', $this->proxy);