Merge pull request #204 from LeoChen98/change-tencent-ssl-upload-repeatable

change: tencent ssl upload repeatable to false
This commit is contained in:
usual2970 2024-10-16 08:13:38 +08:00 committed by GitHub
commit 3348301493
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,7 +76,7 @@ func (t *tencentCdn) uploadCert() (string, error) {
request.CertificatePublicKey = common.StringPtr(t.option.Certificate.Certificate)
request.CertificatePrivateKey = common.StringPtr(t.option.Certificate.PrivateKey)
request.Alias = common.StringPtr(t.option.Domain + "_" + rand.RandStr(6))
request.Repeatable = common.BoolPtr(true)
request.Repeatable = common.BoolPtr(false)
response, err := client.UploadCertificate(request)
if err != nil {