【问题标题】:to Apache 2.4.4 and Tomcat 7.0.33. Accessing the website via HTTPS produces “Object not found” error到 Apache 2.4.4 和 Tomcat 7.0.33。通过 HTTPS 访问网站会产生“找不到对象”错误
【发布时间】:2013-05-14 12:52:58
【问题描述】:

问题:升级到 Apache 2.4.4 和 Tomcat 7.0.33。通过 HTTPS 访问网站会产生“找不到对象”错误。 错误日志显示没有错误(apche、tomcat 或 Windows)。 服务器操作系统:Windows 2008 阿帕奇:版本 2.4.4 Tomcat:版本 7.033 JRE:版本 1.6.0_43

httpd.conf

LoadModule jk_module modules/mod_jk.so
# mod_jk setup
<IfModule mod_jk.c>
JkWorkersFile conf/workers.properties
JkLogFile "|bin/rotatelogs.exe logs/mod_jk.log.%Y-%m-%d.txt 86400"
JkLogLevel error
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
# Should mod_jk send SSL information to Tomcat (default is On)
JkExtractSSL On
# What is the indicator for SSL (default is HTTPS)
JkHTTPSIndicator HTTPS
# What is the indicator for SSL session (default is SSL_SESSION_ID)
JkSESSIONIndicator SSL_SESSION_ID
# What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
JkCIPHERIndicator SSL_CIPHER
# What is the indicator for the client SSL certificated (default is SSL_CLIENT_CERT)
JkCERTSIndicator SSL_CLIENT_CERT 

<Directory "N:/Prod/WebApp_Tomcat/">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>

<Location /*/WEB-INF/*>
deny from all
</Location>
JkMount /WebApp/* presentation
</IfModule>
# end of mod_jk setup

【问题讨论】:

    标签: apache tomcat ssl


    【解决方案1】:

    SSL 虚拟方法在我们的环境中不起作用。如下重新创建 http-ssl.conf 文件解决了我们的问题。

    http-ssl.conf

    ##
    ##  SSL Global Context
    ##
    <IfModule mod_ssl.c>
    AddType application/x-x509-ca-cert .crt
    AddType application/x-pkcs7-crl    .crl
    
    SSLEngine On
    SSLOptions +StrictRequire
    
    <Directory "C:/WebApp">
    SSLRequireSSL
    </Directory>
    <Directory "C:/WebApp_Tomcat">
    SSLRequireSSL
    </Directory>
    
    SSLProtocol -all +TLSv1 +SSLv3
    SSLCipherSuite HIGH:MEDIUM:!aNULL:+SHA1:+MD5:+HIGH:+MEDIUM
    SSLSessionCache         "shmcb:C:/ApacheGroup/Apache2.4.4/logs/ssl_scache(512000)"
    SSLSessionCacheTimeout  300
    SSLCertificateFile conf/ssl.crt/server.crt
    SSLCertificateKeyFile conf/ssl.key/server.key
    SSLSessionCacheTimeout  300
    SSLProxyEngine off
    SetEnvIf User-Agent ".*MSIE.*" ssl-unclean-shutdown
    ErrorLog "|bin/rotatelogs.exe logs/SSL.log.%Y-%m-%d.txt 86400"
    
    LogLevel warn
    
    CustomLog logs/ssl_request_log.txt \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
    
    </IfModule>
    

    【讨论】:

      猜你喜欢
      • 2011-11-16
      • 1970-01-01
      • 2019-11-21
      • 1970-01-01
      • 2013-11-07
      • 2015-12-17
      • 1970-01-01
      • 2016-05-25
      • 1970-01-01
      相关资源
      最近更新 更多