Who has encountered this problem? -> The remote certificate is invalid because of errors in the certificate chain: PartialChain
#2137
-
question: ERRORTEXT
ocelot.json {
"Routes": [
{
"DownstreamPathTemplate": "/order/{url}", // {matchall}
"DownstreamScheme": "https",
"UpstreamPathTemplate": "/orders/{url}",
"UpstreamHttpMethod": [ "Get", "Post" ],
"ServiceName": "OrderService",
"UseServiceDiscovery": true,
"LoadBalancerOptions": {
"Type": "RoundRobin"
},
"FileCacheOptions": {
"TtlSeconds": 3,
"Region": "order"
},
"RateLimitOptions": {
"ClientWhitelist": [],
"EnableRateLimiting": true,
"Period": "1s",
"PeriodTimespan": 1,
"Limit": 1
},
"QoSOptions": {
"ExceptionsAllowedBeforeBreaking": 1,
"DurationOfBreak": 3000,
"TimeoutValue": 5000
}
}
],
"GlobalConfiguration": {
"BaseUrl": "https://www.liujian520.asia", //I filled in the host domain name after translating the document here
"ServiceDiscoveryProvider": {
"Scheme": "http",
"Host": "www.liujian520.asia",
"Port": 8500,
"Type": "Consul"
},
"RateLimitOptions": {
"DisableRateLimitHeaders": false,
"QuotaExceededMessage": "请求太多了",
"HttpStatusCode": 999,
"ClientIdHeader": "Test"
}
}
} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello! You have the option to disable certificate validation in the route: SSL Errors. |
Beta Was this translation helpful? Give feedback.
Hello! You have the option to disable certificate validation in the route: SSL Errors.
However, I would advise against doing this in a production environment. It might be acceptable for services in China.
Additionally, you could consider downgrading the scheme from
https
tohttp
as an elegant solution. 😉