小标
2018-07-31
来源 :
阅读 1789
评论 0
摘要:本文主要向大家介绍了Windows运维之Windows中 AndroidStudio Terminal 下 curl命令,通过具体的内容向大家展现,希望对大家学习Windows运维有所帮助。
本文主要向大家介绍了Windows运维之Windows中 AndroidStudio Terminal 下 curl命令,通过具体的内容向大家展现,希望对大家学习Windows运维有所帮助。
url是利用URL语法在命令行方式下工作的开源文件传输工具。它被广泛应用在Unix、多种Linux发行版中,并且有DOS和Win32、Win64下的移植版本。
AndroidStudio配置ReactNative环境时,执行下载.flowconfig文件命令时
curl --insecure -o .flowconfig https://raw.githubusercontent...
报错:
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: //curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option. If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might not match the domain name in the URL). If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
因为SSL证书报错,关闭证书验证即可:
curl --insecure -o .flowconfig https://raw.githubusercontent.com/facebook/react-native/master/.flowconfig
本文由职坐标整理并发布,希望对同学们有所帮助。了解更多详情请关注系统运维windows频道!
喜欢 | 0
不喜欢 | 0
您输入的评论内容中包含违禁敏感词
我知道了

请输入正确的手机号码
请输入正确的验证码
您今天的短信下发次数太多了,明天再试试吧!
我们会在第一时间安排职业规划师联系您!
您也可以联系我们的职业规划师咨询:
版权所有 职坐标-一站式AI+学习就业服务平台 沪ICP备13042190号-4
上海海同信息科技有限公司 Copyright ©2015 www.zhizuobiao.com,All Rights Reserved.
沪公网安备 31011502005948号