Page 1 of 1

openkm-6.3 community with centos and apache+ssl

PostPosted:Fri Feb 20, 2015 5:56 pm
by schezel2000
I have a an install running and being served by apache without ssl. I can log into that openkm interface without issue. The probem is with my ssl+apache virtual host. I can see the login page when using https but when I try to log in I do not go anywhere. When I enter an incorrect password I get an authentication error. The configuration of the ssl virtual host is given below.
Code: Select all
<VirtualHost 123.141.523.234:443>
  ServerName www.my-site.com

  ProxyPass / ajp://127.0.0.1:8009/OpenKM/ retry=0
  ProxyPassReverse / https://www.my-site.com/OpenKM/


  RewriteEngine on
  RewriteCond %{REQUEST_URI} /OpenKM*
  RewriteRule ^(/.*)$ http://127.0.0.1:8080$1 [P]
  ProxyPassReverse / http://127.0.0.1:8080/

  ErrorLog /var/log/httpd/www.my-site.com-error.log
  CustomLog /var/log/httpd/www.my-site.com-access.log common

  SSLEngine on
  SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
  SSLCertificateFile /etc/httpd/ssl/www.my-site.com.crt
  SSLCertificateKeyFile /etc/httpd/ssl/www.my-site.com.key
  SSLCertificateChainFile /etc/httpd/ssl/www.my-site.com-bundle.crt

</VirtualHost>
In the site error log I am seeing things like the following in the ssl virtual host logs
[Fri Feb 20 15:30:56 2015] [error] (111)Connection refused: proxy: AJP: attempt to connect to 127.0.0.1:8009 (localhost) failed
[Fri Feb 20 15:30:56 2015] [error] ap_proxy_connect_backend disabling worker for (localhost)
[Fri Feb 20 15:30:56 2015] [error] proxy: AJP: failed to make connection to backend: localhost

Re: openkm-6.3 community with centos and apache+ssl

PostPosted:Sat Feb 21, 2015 12:05 pm
by jllort