mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-10 22:49:51 +00:00
change: tencent ssl upload repeatable to false
腾讯云ssl证书上传接口可重复选项设置为`false`,以避免重复上传导致的列表污染。
This commit is contained in:
parent
9bd279a8a0
commit
afeae4269c
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user