Hey all,

 I've been able to create an apache VHOST that does a proxy pass to allow 
Jenkins to work over port 443. However Apache authentication is failing. 
Even with the login of test:test, you are continually prompted over and 
over again and it will not let you in. There are no errors in the apache 
logs that relate to this problem.

<VirtualHost *:443>
        SSLEngine on
        SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP

        SSLCertificateFile      /etc/pki/tls/certs/jenkins.crt
        SSLCertificateKeyFile   /etc/pki/tls/private/jenkins.key

        ServerName      "jenkins.somewhere.com"

        CustomLog       "/var/log/httpd/jenkins_ssl_log" combined
        ErrorLog        "/var/log/httpd/jenkins_ssl_error_log"

        ProxyRequests     Off
        ProxyPreserveHost On
        AllowEncodedSlashes NoDecode

        <Proxy http://localhost:8080/jenkins*>
           Order deny,allow
           Allow from all
        </Proxy>

        ProxyPass         /  http://localhost:8080/ nocanon
        ProxyPassReverse  /  http://localhost:8080/
        ProxyPassReverse  /  http://jenkins.somewhere.com/

        <Location />
              AuthType Basic
              AuthName "Jenkins Page"
              AuthUserFile /opt/apache2/auth
              Require valid-user
       </Location>
</VirtualHost>


If I remove the Jenkins information from the VHOST, I can get a default site 
working under ssl that has Apache authentication working. I can login to the 
default site using test:test in this case.

Can anyone point out what I am doing wrong in my vhost setup?


Thanks

Tim





-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/729bb2ab-326d-4627-b46f-bf42b2fe4d90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to