更新 get_cert_id 方法,增加 config 参数以支持更灵活的配置

This commit is contained in:
Hanada 2025-06-18 13:43:34 +08:00
parent 65566877d9
commit 65cdc423eb

View File

@ -74,7 +74,7 @@ class aliyun implements DeployInterface
}
}
private function get_cert_id($fullchain, $privatekey)
private function get_cert_id($fullchain, $privatekey, $config)
{
$certInfo = openssl_x509_parse($fullchain, true);
if (!$certInfo) throw new Exception('证书解析失败');