修复HTTP验证测试并按实际签发配置复核项目权限
This commit is contained in:
1 parent
16224fa1f5
commit
201a272562
10 files changed
+221
-2
No files matched your search
@@ -158,6 +158,9 @@ func (s *Service) Issue(ctx context.Context, domainID string) (IssueResult, erro
|
||||
if err != nil {
|
||||
return IssueResult{}, err
|
||||
}
|
||||
if err := authorizeIssueSnapshot(ctx, item); err != nil {
|
||||
return IssueResult{}, fmt.Errorf("签发配置权限校验失败:%w", err)
|
||||
}
|
||||
providerID := ""
|
||||
var lease *httpchallenge.Lease
|
||||
if challengeType == domain.ChallengeHTTP01 {
|
||||
|
||||
Reference in new issue
Block a user