فهرست منبع

opt: CF证书上传时的绑定方法字段修改为ubiquitous(通用的)

liufan 1 ماه پیش
والد
کامیت
04224ce898
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      server/CertificateCloudflareServer.go

+ 2 - 2
server/CertificateCloudflareServer.go

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