Skip to content

Apache with Client Side Certificates

Archimedes Trajano edited this page Nov 5, 2016 · 1 revision

apache.conf

SSLEngine on
SSLProxyEngine on

SSLCertificateFile      /etc/ssl/certs/2_i.trajano.net.crt
SSLCertificateKeyFile   /etc/ssl/private/i.key
SSLCertificateChainFile /etc/ssl/certs/sub.class1.server.ca.pem
SSLCACertificateFile    /etc/apache2/ca-bundle.pem
SSLVerifyDepth 3
SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!SSLv3:!SSLv2:!TLSv1

RequestHeader set X-Forwarded-User %{REMOTE_USER}s

# Sonar
ProxyPass /sonar/ http://localhost:9000/sonar/
ProxyPassReverse /sonar/ http://localhost:9000/sonar/
RewriteRule ^/sonar$ /sonar/ [R]

sonar.properties

sonar.web.context=/sonar
sonar.security.realm=reverseproxyauth
Clone this wiki locally