Amazon web services Marklogic 8 http访问AWS API网关导致SSL握手失败
我想编写一个调用AWSAPI网关端点的xquery模块。我运行的代码如下所示:Amazon web services Marklogic 8 http访问AWS API网关导致SSL握手失败,amazon-web-services,ssl,marklogic,aws-api-gateway,tls1.2,Amazon Web Services,Ssl,Marklogic,Aws Api Gateway,Tls1.2,我想编写一个调用AWSAPI网关端点的xquery模块。我运行的代码如下所示: xdmp:http-get("https://gxkhphr091.execute-api.eu-west-1.amazonaws.com/prod", <options xmlns="xdmp:http"> <allow-sslv3>false</allow-sslv3> <allow-tls>true</
xdmp:http-get("https://gxkhphr091.execute-api.eu-west-1.amazonaws.com/prod",
<options xmlns="xdmp:http">
<allow-sslv3>false</allow-sslv3>
<allow-tls>true</allow-tls>
</options>)
我读到AWS API Gateway不再支持SSLv3-它需要TLS,这就是我使用上述选项的原因,但我也尝试了其他选项组合,它们都会导致上述相同的SSLv3错误
我尝试过其他https://URL,比如用于AWS S3的URL,它们也可以工作,所以API网关执行SSL/TLS的方式有所不同
你知道问题是什么吗?从我在其他地方发现的情况来看,这可能与客户缺乏SNI支持有关。API网关需要支持SNI的HTTP客户端
从我在其他地方发现的情况来看,这可能与客户端缺少SNI支持有关。API网关需要支持SNI的HTTP客户端
[1.0-ml] SVC-SOCCONN: xdmp:http-get("https://gxkhphr091.execute-api.eu-west-1.amazonaws.com/prod", <options xmlns="xdmp:http"/>)
-- Socket connect error: SSL_connect 192.168.15.17:59789-52.85.63.117:443: sslv3 alert handshake failure (0x14077410)
curl -v https://gxkhphr091.execute-api.eu-west-1.amazonaws.com/prod