jalantechnologies / sonarqube

This setup allows you to run your own instance of SonarQube with branch plugin enabled, which allows multiple branch analysis with PR decorations enabled.
0 stars 1 forks source link

(bug) SSL certificate renewal is failing #3

Open bbbneo333 opened 1 year ago

bbbneo333 commented 1 year ago

SSL certificate renewal keeps failing with following message:

An unexpected error occurred:
The request message was malformed :: No such challenge

Image

bbbneo333 commented 3 months ago

Steps that I used to follow for renewal:

sonarqube.platform.jalantechnologies.com

digital ocean droplet (Available under "Platform" team on DO): https://cloud.digitalocean.com/droplets/288075783/access?i=bbb5de

renew:

cd /home/projects/git/jalantechnologies/platform-sonarqube docker-compose run --rm certbot certonly --webroot --webroot-path /var/www/certbot/ -d sonarqube.platform.jalantechnologies.com -m developer@jalantechnologies.com --agree-tos docker-compose restart

bbbneo333 commented 3 months ago

This step should be automated. As of now, whenever certificate expires, this has to be done manually.

I also did setup cronjob for renewal but that does not seems to be working, see details below:

see renew cron job - /home/jobs/renew_sonarqube_certs logs for the same - /home/jobs/renew_sonarqube_certs.log