我正在使用带有 grunt-nwabap-ui5uploader 插件的 Grunt 将应用程序部署到 NW ABAP 服务器,我已经在 Gruntfile 中编写了一个上传任务并尝试执行它,但是有一个关于自签名证书的错误,它中止了任务。我尝试使用选项 --force 来忽略警告,但似乎没有执行此任务:
> Running "nwabap_ui5uploader:upload_webapp" (nwabap_ui5uploader) task
> Warning: Error: self signed certificate (undefined) Used --force, continuing.
>
> Done, but with warnings.
有没有办法忽略此警告并执行任务?
最佳答案
居然找到了解决办法:
在 Gruntfile 上传任务中将 useStrictSSL 模式选项设置为 false。 https://github.com/pfefferf/grunt-nwabap-ui5uploader#optionsconnusestrictssl
关于ssl - 忽略 Grunt 中无效的自签名 ssl 证书警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38591553/