to Apache 2.4.4 and Tomcat 7.0.33. Accessing the website via HTTPS produces “Object not found” error -
issue: upgraded apache 2.4.4 , tomcat 7.0.33. accessing website via https produces “object not found” error. error logs show no errors (apche, tomcat, or windows). server os: windows 2008 apache: version 2.4.4 tomcat: version 7.033 jre: version 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 tomcat (default on) jkextractssl on # indicator ssl (default https) jkhttpsindicator https # indicator ssl session (default ssl_session_id) jksessionindicator ssl_session_id # indicator client ssl cipher suit (default ssl_cipher) jkcipherindicator ssl_cipher # indicator client ssl certificated (default ssl_client_cert) jkcertsindicator ssl_client_cert <directory "n:/prod/webapp_tomcat/"> options indexes followsymlinks allowoverride none require granted </directory> <location /*/web-inf/*> deny </location> jkmount /webapp/* presentation </ifmodule> # end of mod_jk setup
the ssl virtual method not work in our environment. recreating http-ssl.conf file follows solved our problem.
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>
Comments
Post a Comment