SHARE
TWEET

How to fix SSL Cert errors on vagrant provision

K-4U Oct 5th, 2016 2,588 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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.
RAW Paste Data
Top