devopsgroup-io / vagrant-hostmanager

:pencil: A Vagrant plugin that manages hosts files within a multi-machine environment.
Mozilla Public License 2.0
1.46k stars 148 forks source link

SSL verification error at depth 3 #289

Closed edgard-habanbou closed 10 months ago

edgard-habanbou commented 1 year ago

I'm trying to install vagrant hostmanager using this command but this error keeps showing:

 $ vagrant plugin install vagrant-hostmanager
Installing the 'vagrant-hostmanager' plugin. This can take a few minutes...
ERROR:  SSL verification error at depth 3: unable to get local issuer certificate (20)
ERROR:  You must add /C=US/O=Starfield Technologies, Inc./OU=Starfield Class 2 Certification Authority to your local trusted store
Vagrant failed to load a configured plugin source. This can be caused
by a variety of issues including: transient connectivity issues, proxy
filtering rejecting access to a configured plugin source, or a configured
plugin source not responding correctly. Please review the error message
below to help resolve the issue:

  SSL_connect SYSCALL returned=5 errno=0 peeraddr=18.66.196.18:443 state=error: certificate verify failed (https://gems.hashicorp.com/specs.4.8.gz)

Source: https://gems.hashicorp.com/

i tried these options:

The-Beebz commented 1 year ago

having this problem as well, did you ever figure it out?

GameBurrow commented 1 year ago

Only workaround I've found is to downgrade vagrant to version 2.3.4

edgard-habanbou commented 10 months ago

Turns out that vagrant isn't allowed in my country so a vpn worked for me