|
@@ -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)
|
|
|
|
|
@@ -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 {
|