我正在尝试status
从 SSH 隧道访问 Neptune 集群端点。我可以在堡垒主机上毫无问题地点击它,但是通过 ssh 隧道进行操作时,我得到:
https://localhost:8182/状态
{"detailedMessage":"Bad request.","requestId":"random-request-id-appears-here","code":"BadRequestException"}
我怎样才能做到这一点?看来我需要 sigv4 的东西。我希望在浏览器中点击它后看到响应工作。
在设置我的环境变量后,我也尝试过,我得到:awscurl
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='localhost', port=8182): Max retries exceeded with url: /status (Caused by SSLError(SSLCertVerificationError("hostname 'localhost' doesn't match either of '*.id.us-east-2.neptune.amazonaws.com', '*.id.us-east-2.neptune.amazonaws.com', '*.cluster-custom-id.us-east-2.neptune.amazonaws.com', '*.cluster-ro-id.us-east-2.neptune.amazonaws.com'")))