sudo apt-get update sudo apt-get install ca-certificates curl gnupg lsb-release Use code with caution. 2. Verify Your System Time
Encountering the error is a common hurdle when installing or updating Docker on Ubuntu 18.04 (Bionic Beaver) . This issue typically prevents the apt-get update command from completing, blocking the installation of vital Docker packages. the SSL certificate verification will fail.
: Your system's local ca-certificates might be expired, causing the secure HTTPS connection to fail. the SSL certificate verification will fail.
# Check current time date # If incorrect, restart the NTP service or manually sync sudo timedatectl set-ntp on Use code with caution. 3. Re-Add the Docker GPG Key the SSL certificate verification will fail.
: If your server’s date or time is significantly off, the SSL certificate verification will fail.