mirror of
https://github.com/netcccyun/dnsmgr.git
synced 2026-02-21 15:31:12 +08:00
更新 get_cert_id 方法,增加 config 参数以支持更灵活的配置
This commit is contained in:
parent
65566877d9
commit
65cdc423eb
@ -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('证书解析失败');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user