Self signed certificate expired

Today Jenkins stopped working as the self signed certificate created during the cloudogu setup expired.

Jenkins shows the following error Message:

Started by user AAA
 > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-2da8dc8ed25e955a4d0e464292e31f7e/.git # timeout=10
Setting origin to
 > git config remote.origin.url # timeout=10
Fetching origin...
Fetching upstream changes from origin
 > git --version # timeout=10
 > git --version # 'git version 2.34.2'
 > git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials 
 > git fetch --tags --force --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10
hudson.plugins.git.GitException: Command "git fetch --tags --force --progress -- origin +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stderr: fatal: unable to access '': SSL certificate problem: certificate has expired

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$500(
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(
	at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(
	at jenkins.plugins.git.AbstractGitSCMSource.doRetrieve(
	at jenkins.plugins.git.AbstractGitSCMSource.retrieve(
	at jenkins.scm.api.SCMSource.fetch(
	at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(
	at hudson.model.ResourceController.execute(
Finished: FAILURE

How can i renew the certificate?

Hi Martinr,
thanks for your question. To renew your certificate, you can just execute the script /usr/local/bin/ This creates a new self signed certificate and writes it to the etcd.
After that, you must restart all dogus for the change to apply.
Let me know if this solves your issue.

Kind regards, Simon

Hi Simon, this resolved my problem, thank you very much!

1 Like