SSL verification error at depth 3
edgard-habanbou opened this issue · 3 comments
edgard-habanbou commented
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:
export SSL_CERT_FILE=/etc/pki/tls/certs/ca-bundle.crt
- installing the Starfield Technologies certificate directly to my computer but nothing works
The-Beebz commented
having this problem as well, did you ever figure it out?
GameBurrow commented
Only workaround I've found is to downgrade vagrant to version 2.3.4
edgard-habanbou commented
Turns out that vagrant isn't allowed in my country so a vpn worked for me