Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure Sonar to authenticate using SSL Client Certificates

I have a reverse proxy that authenticates users using SSL Client Side certificates. I am trying to make Sonar V4 use the credentials that are passed in by the certificate from the reverse proxy. However, I haven't had much luck so far with Sonar.

However, I did get this working with Jenkins and Trac already.

like image 989
Archimedes Trajano Avatar asked Oct 02 '22 06:10

Archimedes Trajano


1 Answers

Couldn't find one out there. So I just made my own over a few days.

https://github.com/trajano/reverse-proxy-auth-sonar-plugin

Personally wasn't too thrilled to have to resort to dealing with Ruby on Rails within a Java app and learning the current API on the fly, but it seemed to work since the authentication is managed by Ruby on Rails rather than Java.

like image 76
Archimedes Trajano Avatar answered Oct 13 '22 11:10

Archimedes Trajano