LoginSignup
A_Salmon
@A_Salmon

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

EC2でyum updateを行おうとすると”CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none”と出てしまいます。

解決したいこと

EC2でyum updateを行いたい

発生している問題・エラー

Ec2でyum updateを行うと
14: curl#77 - "error setting certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none
とエラーが出てしまいます。

心当たり

証明書をオレオレ証明で作成しました。

自分で試したこと

■方法①
オレオレ証明で作成した証明書の名前を「ca-bundle.crt」に変更し
/etc/pki/tls/certs/
に配置
■結果→
14: curl#60 - "SSL certificate problem: unable to get local issuer certificate"

■方法②
エンドポイント追加
VPCに以下のエンドポイントを追加しました。
サービス名
com.amazonaws.ap-northeast-1.s3
エンドポイントタイプ
Gateway
■結果→
14: curl#77 - "error setting certificate verify locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none

証明書を作り直せばいいのでしょうか。。
どなたかご回答いただければ幸いです。
よろしくお願いいたします。

0

No Answers yet.

Your answer might help someone💌