amazon-web-services - 与远程服务器进行 SSL 握手期间的 Apache 错误
问题描述
我在 EC2 linux 服务器上监听 443 和 Web 应用程序 nodejs 监听 6969。
我有 ssl.conf 文件
<VirtualHost _default_:443>
SSLEngine On
SSLProxyEngine On
ProxyRequests Off
ProxyPreserveHost On
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
SSLProxyCheckPeerExpire off
ServerAdmin ***@gmail.com
DocumentRoot /var/www/html/***
ServerName ***
SSLCertificateFile "***/certificate.crt"
SSLCertificateChainFile "***/ca_bundle.crt"
SSLCertificateKeyFile "***/private.key"
ProxyPass / https://127.0.0.1:6969/
ProxyPassReverse / https://127.0.0.1:6969/
<Directory "/var/www/html/***">
Order deny,allow
Allow from all
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
和文件 httpd/error_log
[Sun Jul 12 18:56:27.176297 2020] [proxy:error] [pid 32374:tid 140253401167616] (20014)Internal error (specific information not available): [client 117.6.62.***:32539] AH01084: pass request body failed to 127.0.0.1:6969 (127.0.0.1)
[Sun Jul 12 18:56:27.176334 2020] [proxy:error] [pid 32374:tid 140253401167616] [client 117.6.62.***:32539] AH00898: Error during SSL Handshake with remote server returned by /
[Sun Jul 12 18:56:27.176339 2020] [proxy_http:error] [pid 32374:tid 140253401167616] [client 117.6.62.***:32539] AH01097: pass request body failed to 127.0.0.1:6969 (127.0.0.1) from 117.6.62.*** ()
[Sun Jul 12 18:56:34.161784 2020] [proxy:error] [pid 32374:tid 140253401167616] (20014)Internal error (specific information not available): [client 117.6.62.***:32542] AH01084: pass request body failed to 127.0.0.1:6969 (127.0.0.1)
[Sun Jul 12 18:56:34.161831 2020] [proxy:error] [pid 32374:tid 140253401167616] [client 117.6.62.***:32542] AH00898: Error during SSL Handshake with remote server returned by /
[Sun Jul 12 18:56:34.161836 2020] [proxy_http:error] [pid 32374:tid 140253401167616] [client 117.6.62.***:32542] AH01097: pass request body failed to 127.0.0.1:6969 (127.0.0.1) from 117.6.62.*** ()
[Sun Jul 12 18:56:47.451390 2020] [mpm_event:notice] [pid 32156:tid 140253690120384] AH00492: caught SIGWINCH, shutting down gracefully
[Sun Jul 12 18:56:48.524967 2020] [suexec:notice] [pid 32494:tid 140512587598016] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Jul 12 18:56:48.549325 2020] [lbmethod_heartbeat:notice] [pid 32494:tid 140512587598016] AH02282: No slotmem from mod_heartmonitor
[Sun Jul 12 18:56:48.552155 2020] [mpm_event:notice] [pid 32494:tid 140512587598016] AH00489: Apache/2.4.43 () OpenSSL/1.0.2k-fips configured -- resuming normal operations
[Sun Jul 12 18:56:48.552179 2020] [core:notice] [pid 32494:tid 140512587598016] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
谁能建议我做错了什么?
解决方案
这是尝试使用 HTTPS 与内部节点应用程序通信的结果。
应用程序在 HTTPS 上运行,更新到 HTTP 在内部解决了这个问题。
推荐阅读
- python - 尝试从华为调制解调器读取消息时出现错误 125002
- php - Mapbox:如何在 Mapbox 输入搜索自动完成中获取地址值并使用 PHP 在 Mysql 表中插入?
- python - 从另一个嵌套数据类访问嵌套类
- react-native-gifted-chat - React Native Gifted Chat 中的图像纵横比
- c# - 无法在 Azure 中使用相同的帐户在 VS 2019 中发布应用程序
- javascript - 当我从谷歌表格中的开始日期和结束日期创建事件时,日历中的结束日期比前一天
- java - sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 通过 Selenium 和 Java 使用 findElement(By.className())
- javascript - 创建反应本机初始化命令时出错
- apache-pig - 猪脚本查找行仅相差一列
- c# - Acumatica 中的过滤器不遵循行级安全性