Gitlab CI Ssl错误 [英] Gitlab CI Ssl Error
本文介绍了Gitlab CI Ssl错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的电脑上没有错误.但是我在gitlabci上有错误ssl.如何解决这个问题?
I dont have error on my pc.But ı have a error ssl on gitlabci. How is it solve this problem ?
服务器: Debian
错误输出:
[Aws\S3\Exception\S3Exception]
Error executing "PutObject" on "https://s3.ap-south-1.amazonaws.com/bucketname/filename"; AWS HTTP error: Error creating resource: [m
essage] fopen(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
failed
[file] /builds/burhan/blutron/vendor/guzzlehttp/guzzle/src/Handler/StreamHa
ndler.php
[line] 312
[message] fopen(): Failed to enable crypto
[file] /builds/burhan/blutron/vendor/guzzlehttp/guzzle/src/Handler/StreamHa
ndler.php
[line] 312
[message] fopen(https://s3.ap-south-1.amazonaws.com/bucketname/filename): failed to open stream: operation failed
[file] /builds/burhan/blutron/vendor/guzzlehttp/guzzle/src/Handler/StreamHa
ndler.php
[line] 312
推荐答案
.gitlab-ci.yml文件
.gitlab-ci.yml Files
image:
before_script:
- apt-get update
- apt-get install -y ca-certificates
- ....
- ....
我解决了它的更新和ca证书.
I solved it update and ca-certificates .
这篇关于Gitlab CI Ssl错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文