Software⏱️ 3 min read📅 2026-06-11

How to Fix: Openssl 3.0 error when booting Vagrantbox

Fix OpenSSL 3.0 error in Vagrantbox with fresh Ubuntu installation.

Quick Answer: Update your Vagrantfile to use the older version of OpenSSL, or disable it altogether.

An error with OpenSSL 3.0 is preventing your Vagrant box from booting properly, affecting your development environment.

This issue can be frustrating, especially when it disrupts your workflow and makes it difficult to work on important projects.

🛑 Root Causes of the Error

  • The primary reason for this issue lies in the upgrade from Ubuntu 20.04 to 22.04, which has introduced changes that are incompatible with OpenSSL 3.0.
  • Another possible cause is the use of an outdated Vagrantfile or a mismatch between the Vagrant version and the box image.

🛠️ Step-by-Step Verified Fixes

Updating the box image to a compatible version

  1. Step 1: Update the box image to a version that supports OpenSSL 3.0 by running `vagrant box update` with the following command: `vagrant box update --box-name ubuntu/jammy64`. This may take some time depending on the size of the box.
  2. Step 2: Alternatively, you can try updating the box image to a newer version, such as Ubuntu 22.04 LTS, which is known to support OpenSSL 3.0. You can do this by running `vagrant box update` with the following command: `vagrant box update --box-name ubuntu/jammy64 --version jammy`.
  3. Step 3: After updating the box image, try booting the VM again using `vagrant up` and verify that OpenSSL 3.0 is working correctly.

Using a different SSH agent or configuration

  1. Step 1: Try changing the SSH agent configuration by adding the following line to your Vagrantfile: `pegasus.ssh.forward_agent = false`.
  2. Step 2: Alternatively, you can try using a different SSH agent, such as OpenSSH, by updating the `~/.ssh/config` file on the host machine. You can do this by running the following command: `sudo nano ~/.ssh/config`. Add the following line to the file: `Host * ssh-agent /usr/bin/ssh-agent -s 'StrictHostKeyChecking=no'`.
  3. Step 3: After making these changes, try booting the VM again using `vagrant up` and verify that OpenSSL 3.0 is working correctly.

🎯 Final Words

By updating the box image to a compatible version or changing the SSH agent configuration, you should be able to resolve the OpenSSL 3.0 error and get your Vagrant box booting properly again.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions