Skip to content

When starting the libvirtd service, I encountered the error: "The server certificate /etc/pki/libvirt/servercert.pem has expired." #9565

Answered by weizhouapache
LiuYanHao789 asked this question in Q&A
Discussion options

You must be logged in to vote

You can try the following steps

  1. backup and then delete the cloud.* files from /etc/cloudstack/agent/ directory
  2. change auth strictness global setting to false (ca.plugin.root.auth.strictness) in cloudstack temporarily
  3. set listen_tcp=1/listen_tls=0/vnc_tls=0 in libvirtd.conf, and restart libvirtd
  4. restart cloudstack agent on the KVM host, and once it's connected, in CloudStack go to the UI-> infra ->host -> select the specific host -> click button to re-provision certficates (this will resetup the cloud.jks and certificates on the kvm host)
  5. finally, reset the ca.plugin.root.auth.strictness back to true

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rohityadavcloud
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@LiuYanHao789
Comment options

@rohityadavcloud
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #9562 on August 22, 2024 06:36.