加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

curl – 跳过“vagrant up”的证书验证

发布时间:2020-12-14 02:21:04 所属栏目:Linux 来源:网络整理
导读:自从我们的代理MITM https以来,我想跳过关于流浪者的卷曲证书验证,因此卷曲’通常的SSL证书错误弹出. 我尝试了流浪汉 – 确保puppetlabs / debian-7.8-32-nocm,但这并没有改变任何东西.接下来我在Vagrantfile中尝试了config.vm.box_download_insecure和confi
自从我们的代理MITM https以来,我想跳过关于流浪者的卷曲证书验证,因此卷曲’通常的SSL证书错误弹出.

我尝试了流浪汉 – 确保puppetlabs / debian-7.8-32-nocm,但这并没有改变任何东西.接下来我在Vagrantfile中尝试了config.vm.box_download_insecure和config.vm.box_download_insecure =“puppetlabs / debian-7.8-32-nocm”,但是唉 – 没有运气.

>如果我使用atlas的盒子,config.vm.box_download_insecure的URL是什么?
>是否有另一种可能使卷曲跳过证书检查?

解决方法

它期待一个布尔值(真/假).
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 certs will be verified.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读