SonarQube - Certificate
Trusting a Self-Signed Certificate
The approach used to authenticate DevOps Velocity’s certificate to SonarQube is determined by user requirements per installation. One approach is for an administrator to configure a SonarQube server to trust DevOps Velocity’s self-signed certificate. Directions for this approach are provided below.
- Create a self-signed certificate. Generate a self-signed certificate from
./docker-compose/conf/ssl
. Usehost.docker.internal
as the common name.
openssl req -newkey rsa:2048 -nodes -keyout server.key -x509 -days 365 -out server.crt
- Copy the
server.crt
file from the./docker-compose
directory to thecp ../docker-compose/server.crt
directory. - Restart the velocity-router container in docker-compose, host nginx and any other proxies that need to load the new SSL certificate.
- Run
docker-compose up -d --build
. You must specify the –build parameter to ensure that the image is rebuilt.
Back to … | Latest Version | SonarQube | |||||
---|---|---|---|---|---|---|---|
All Plugins | Velocity Plugins | 1.0.50 | Readme | Overview | Usage | Scripts | Downloads |