How to fix "cannot verify software.virtualmin.com's certificate" during VirtualMin Installation

During some installation of the VirtualMin panel you may encounter the error:

Connecting to software.virtualmin.com (software.virtualmin.com)|163.172.162.254|:443... connected.

ERROR: cannot verify software.virtualmin.com's certificate, issued by '/C=US/O=Let\'s Encrypt/CN=R3':   Issued certificate has expired.

Throughout this guide, we will roll a simple fix which would allow you to bypass the error. 

The error may occur upon downloading the installation file with the command: 

wget https://software.virtualmin.com/gpl/scripts/install.sh

In which case you may add the -no-check-certificate flag to wget: 

wget --no-check-certificate https://software.virtualmin.com/gpl/scripts/install.sh

However, upon running the install.sh you may encounter the same error. In which case you would need to reinstall the package ca-certificates of your server. 

To proceed on CentOS you would need to run the command: 

yum -y reinstall ca-certificates

On Debian / Ubuntu

apt-get --reinstall install ca-certificates

That's it. You may run the installation command again and it should be working flawlessly. 

  • virtualmin, error, bug, ssl, certificate
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to Refresh your cPanel License

If you have purchased your linux VPS along with a cPanel license. Your license won't be active...

How To Clean your cPanel Logs Files in One Go

This tutorial is meant to provide a shortcut to clean your log files in a cPanel Dedicated Server...

How To Update cPanel From SSH or GUI

In order to update the cPanel software on a Linux VPS, there is 2 ways to do it. Upgrading the...

How To Backup / Restore / Export your CSF Firewall Configuration

Whenever you want to deploy a new Linux VPS / Dedicated server, you generally have to set and...

How to Install the CSF / LFD Firewall on your VPS / Dedicated Server

Throughout this guide, you'll learn how to install your own Firewall on your linux VPS /...