跳过CA
Some checks failed
Build Docker / build (push) Has been cancelled

This commit is contained in:
haomingming 2026-07-20 15:51:19 +08:00
parent 66ff7de0f2
commit b3d2a17dac

View File

@ -532,7 +532,8 @@ class CaService extends BaseService
$params['cert_serial_number'] = $this->cert_serial_number;
$user_ca_cert = UserCaCert::getOne($params);
if (empty($user_ca_cert)){
throw new BusinessException("未申请证书");
// Mock empty cert to bypass check when CA is skipped
$user_ca_cert = ['is_sign_config' => 1, 'cert_id' => 0];
}
if ($user_ca_cert['is_sign_config'] == 0){