我正在尝试在 Apache Forward Proxy(httpd v2.4;在容器中运行以进行测试)后面的 Docker 容器中运行 hashicorp vault 服务器。Vault 设置为使用 AWS KMS 进行自动解封。但是,vault 出现以下错误。代理未生成任何日志信息。
vault_1 | Error parsing Seal configuration: error fetching AWS KMS wrapping key information: RequestError: send request failed
vault_1 | caused by: Post "https://kms.<region>.amazonaws.com/": proxyconnect tcp: dial tcp 172.28.0.2:9081: connect: connection refused
vault_1 | 2022-03-20T16:32:13.188Z [INFO] proxy environment: http_proxy=http://proxy:9081 https_proxy=http://proxy:9081 no_proxy=".127.0.0.1,localhost,testproxy"
Apache 代理配置如下
Listen 9081
<VirtualHost *:9081>
ServerName 0.0.0.0
ProxyRequests On
ProxyVia On
SSLProxyEngine On
ProxyPreserveHost On
ProxyTimeout 300
<Proxy *>
Order deny,allow
Deny from all
Allow from all
</Proxy>
AllowCONNECT "9081"
</VirutalHost>
我尝试过打开和关闭各种 Apache 模块。我尝试过设置HTTPS_PROXY
为https://proxy:9081
。但都无济于事。我需要进行哪些设置才能允许此代理连接通过?