Browse Source

cloudflareServer修改更新证书绑定方法为force

YuXinLong 1 year ago
parent
commit
0fda6a9902
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/CertificateCloudflareServer.go

+ 1 - 1
server/CertificateCloudflareServer.go

@@ -122,7 +122,7 @@ func (s *CertificateServer) EditCertificate(ctx context.Context, requestCloudfla
 	zoneCustomSSL.Certificate = requestCloudflare.GetCertificate()
 	zoneCustomSSL.PrivateKey = requestCloudflare.GetPrivateKey()
 	zoneCustomSSL.GeoRestrictions = &geoRestrictions
-	zoneCustomSSL.BundleMethod = "ubiquitous"
+	zoneCustomSSL.BundleMethod = "force"
 	zoneCustomSSL.Type = "sni_custom"
 	editCertificate, err := api.UpdateSSL(ctxAPI, id, requestCloudflare.GetCertificateId(), zoneCustomSSL)
 	if err != nil {