我想将我的API从HTTP更改为API Gateway中的HTTP,但是出现以下错误:
Endpoint request headers: {x-amzn-apigateway-api-id=ghqsfz8w25,
Accept=application/json, User-Agent=AmazonAPIGateway_xxxx,
Host=xxx-nlb-ecs-service-xxx-xxxcea41.elb.eu-west-1.amazonaws.com,
X-Amzn-Trace-Id=Root=1-xxx-xxx}
Endpoint request body after transformations:
Sending request to https://xxx-nlb-ecs-service-xxx-xxxcea41.elb.eu-west-1.amazonaws.com
Execution failed due to configuration error:
Host name 'vpce-xxx007-xxxb1h.vpce-svc-xxx318ce.eu-west-1.vpce.amazonaws.com' does
not match the certificate subject provided by the peer (CN=*.domain.eu)
Method completed with status: 500
具有以下配置:
API方法的设置为
使用HTTP时,此配置有效。现在看来,我需要将VPC端点与通配符证书关联。这是我第一次使用AWS,不是网络专家。关于如何解决此问题的任何想法。
谢谢!
答案 0 :(得分:1)
要完成这项工作