Advertisement
K-4U

How to fix SSL Cert errors on vagrant provision

Oct 5th, 2016
2,992
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. How to fix the SSL certificate errors.
  2.  
  3. When the provision fails, SSH into your vagrant and create two files:
  4. /etc/gemrc
  5. ~/.gemrc
  6.  
  7. These contain one line:
  8. :ssl_verify_mode: 0
  9.  
  10. Next, run this command:
  11. sudo /opt/puppetlabs/puppet/bin/gem update --system
  12.  
  13. Wait for that to finish and exit your box.
  14. Run
  15. vagrant provision
  16.  
  17. Now it should continue.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement