Bladeren bron

cloudflareServer修改创建证书绑定方法为force

YuXinLong 1 jaar geleden
bovenliggende
commit
100d6d3c36

+ 1 - 1
cloudflareApi/cache/purge/purge.pb.go

@@ -1,7 +1,7 @@
 // Code generated by protoc-gen-go. DO NOT EDIT.
 // versions:
 // 	protoc-gen-go v1.28.1
-// 	protoc        v3.21.4
+// 	protoc        v3.19.1
 // source: proto/purge.proto
 
 package purge

+ 1 - 1
cloudflareApi/cache/purge/purge_grpc.pb.go

@@ -1,7 +1,7 @@
 // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
 // versions:
 // - protoc-gen-go-grpc v1.2.0
-// - protoc             v3.21.4
+// - protoc             v3.19.1
 // source: proto/purge.proto
 
 package purge

+ 1 - 1
cloudflareApi/dns/dns.pb.go

@@ -1,7 +1,7 @@
 // Code generated by protoc-gen-go. DO NOT EDIT.
 // versions:
 // 	protoc-gen-go v1.28.1
-// 	protoc        v3.21.4
+// 	protoc        v3.19.1
 // source: proto/dns.proto
 
 package dns

+ 1 - 1
cloudflareApi/dns/dns_grpc.pb.go

@@ -1,7 +1,7 @@
 // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
 // versions:
 // - protoc-gen-go-grpc v1.2.0
-// - protoc             v3.21.4
+// - protoc             v3.19.1
 // source: proto/dns.proto
 
 package dns

+ 1 - 1
cloudflareApi/loadBalancer/loadBalancer.pb.go

@@ -1,7 +1,7 @@
 // Code generated by protoc-gen-go. DO NOT EDIT.
 // versions:
 // 	protoc-gen-go v1.28.1
-// 	protoc        v3.21.4
+// 	protoc        v3.19.1
 // source: proto/loadBalancer.proto
 
 package loadBalancer

+ 1 - 1
cloudflareApi/loadBalancer/loadBalancer_grpc.pb.go

@@ -1,7 +1,7 @@
 // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
 // versions:
 // - protoc-gen-go-grpc v1.2.0
-// - protoc             v3.21.4
+// - protoc             v3.19.1
 // source: proto/loadBalancer.proto
 
 package loadBalancer

+ 1 - 1
cloudflareApi/loadBalancerPool/loadBalancerPool.pb.go

@@ -1,7 +1,7 @@
 // Code generated by protoc-gen-go. DO NOT EDIT.
 // versions:
 // 	protoc-gen-go v1.28.1
-// 	protoc        v3.21.4
+// 	protoc        v3.19.1
 // source: proto/loadBalancerPool.proto
 
 package loadBalancerPool

+ 1 - 1
cloudflareApi/loadBalancerPool/loadBalancerPool_grpc.pb.go

@@ -1,7 +1,7 @@
 // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
 // versions:
 // - protoc-gen-go-grpc v1.2.0
-// - protoc             v3.21.4
+// - protoc             v3.19.1
 // source: proto/loadBalancerPool.proto
 
 package loadBalancerPool

+ 1 - 1
cloudflareApi/logPush/logPush.pb.go

@@ -1,7 +1,7 @@
 // Code generated by protoc-gen-go. DO NOT EDIT.
 // versions:
 // 	protoc-gen-go v1.28.1
-// 	protoc        v3.21.4
+// 	protoc        v3.19.1
 // source: proto/logPush.proto
 
 package logPush

+ 1 - 1
cloudflareApi/logPush/logPush_grpc.pb.go

@@ -1,7 +1,7 @@
 // Code generated by protoc-gen-go-grpc. DO NOT EDIT.
 // versions:
 // - protoc-gen-go-grpc v1.2.0
-// - protoc             v3.21.4
+// - protoc             v3.19.1
 // source: proto/logPush.proto
 
 package logPush

+ 1 - 1
cloudflareApi/zone/zone.pb.go

@@ -83,7 +83,7 @@ func (Phase) EnumDescriptor() ([]byte, []int) {
 	return file_proto_zone_proto_rawDescGZIP(), []int{0}
 }
 
-//Zone CURD
+// Zone CURD
 type ZoneCloudflareEntity struct {
 	state         protoimpl.MessageState
 	sizeCache     protoimpl.SizeCache

+ 1 - 1
server/CertificateCloudflareServer.go

@@ -60,7 +60,7 @@ func (s *CertificateServer) CreateCertificate(ctx context.Context, requestCloudf
 	zoneCustomSSL.Certificate = requestCloudflare.GetCertificate()
 	zoneCustomSSL.PrivateKey = requestCloudflare.GetPrivateKey()
 	zoneCustomSSL.GeoRestrictions = &geoRestrictions
-	zoneCustomSSL.BundleMethod = "ubiquitous"
+	zoneCustomSSL.BundleMethod = "force"
 	zoneCustomSSL.Type = "sni_custom"
 	createCertificate, err := api.CreateSSL(ctxAPI, id, zoneCustomSSL)