我猜测由于ssl配置,在使用docker运行kiwi后无法访问服务

时间:2019-01-08 09:05:18

标签: kiwi-tcms

我正在尝试使用Kiwi管理我的测试用例。 我完全按照this文档

中的步骤进行操作

使用docker-compose up启动服务后,这些日志显示在我的终端中:


kiwi_web | AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.20.0.3. Set the 'ServerName' directive globally to suppress this message
kiwi_web | [Tue Jan 08 08:40:42.574498 2019] [ssl:warn] [pid 10] AH01909: RSA certificate configured for 172.20.0.3:443 does NOT include an ID which matches the server name
kiwi_web | [Tue Jan 08 08:40:42.574972 2019] [ssl:warn] [pid 10] AH01909: RSA certificate configured for 172.20.0.3:8443 does NOT include an ID which matches the server name
kiwi_web | AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 172.20.0.3. Set the 'ServerName' directive globally to suppress this message
kiwi_web | [Tue Jan 08 08:40:42.613817 2019] [auth_digest:notice] [pid 10] AH01757: generating secret for digest authentication ...
kiwi_web | [Tue Jan 08 08:40:42.614733 2019] [lbmethod_heartbeat:notice] [pid 10] AH02282: No slotmem from mod_heartmonitor
kiwi_web | [Tue Jan 08 08:40:42.615950 2019] [ssl:warn] [pid 10] AH01909: RSA certificate configured for 172.20.0.3:443 does NOT include an ID which matches the server name
kiwi_web | [Tue Jan 08 08:40:42.616228 2019] [ssl:warn] [pid 10] AH01909: RSA certificate configured for 172.20.0.3:8443 does NOT include an ID which matches the server name
kiwi_web | [Tue Jan 08 08:40:42.621818 2019] [mpm_prefork:notice] [pid 10] AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/4.6.5 Python/3.6 configured -- resuming normal operations
kiwi_web | [Tue Jan 08 08:40:42.621878 2019] [core:notice] [pid 10] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'

当我尝试通过Web浏览器访问该服务时,收到以下错误消息:

 Failure to establish secure connection
    SSL receives a record that exceeds the maximum allowable length. Error  code: SSL_ERROR_RX_RECORD_TOO_LONG 

实际上我真的不需要https协议,如何禁用它并仅使用http?

1 个答案:

答案 0 :(得分:1)

预期来自Apache的日志。我们不知道运行Kiwi TCMS的实例的FQDN,并且未配置它。但是,这不应阻止其工作。毕竟,这就是我们在现场演示中的运行方式。

第二个错误描述如下: SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long)

它指出Firefox中的错误,并可能是服务器端的一些错误配置。但是,如果没有其他信息,我无能为力。

您要使用默认的SSL证书还是提供自己的证书?