Skip certificate verification for "vagrancy"

I would skip validator validation on vagrant up , as our proxy server is MITM https, so the usual SSL certificate error pops up.

I tried vagrant up --insecure puppetlabs/debian-7.8-32-nocm , but that didn't change anything. Then I tried config.vm.box_download_insecure and config.vm.box_download_insecure = "puppetlabs/debian-7.8-32-nocm" in Vagrantfile but, alas, no luck.

  • What is the url for config.vm.box_download_insecure if i use fields from atlas?
  • Is there another way to do a violin certificate check?
+6
source share
1 answer

A boolean value is expected (true / false).

 config.vm.box_download_insecure = true 

https://www.vagrantup.com/docs/vagrantfile/machine_settings.html

config.vm.box_download_insecure - if true, then SSL certificates from the server will not be verified. By default, if the URL is an HTTPS URL, then SSL certificates will be verified.

+6
source

Source: https://habr.com/ru/post/984549/


All Articles