mirror of https://github.com/usual2970/certimate
Merge pull request #204 from LeoChen98/change-tencent-ssl-upload-repeatable
change: tencent ssl upload repeatable to falsemain
commit
3348301493
|
@ -76,7 +76,7 @@ func (t *tencentCdn) uploadCert() (string, error) {
|
||||||
request.CertificatePublicKey = common.StringPtr(t.option.Certificate.Certificate)
|
request.CertificatePublicKey = common.StringPtr(t.option.Certificate.Certificate)
|
||||||
request.CertificatePrivateKey = common.StringPtr(t.option.Certificate.PrivateKey)
|
request.CertificatePrivateKey = common.StringPtr(t.option.Certificate.PrivateKey)
|
||||||
request.Alias = common.StringPtr(t.option.Domain + "_" + rand.RandStr(6))
|
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)
|
response, err := client.UploadCertificate(request)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue