LoginSignup
3
0

More than 1 year has passed since last update.

curl: (77) Problem with the SSL CA cert (path? access rights?)が出た時の対処法

Last updated at Posted at 2021-12-07

セゾン情報システムズ Advent Calendar 2021 8日目を担当します。

Azure Site Recoveryを使ったAzure VMのDR構成を試している際に、ASRログ(/var/log/AzureRcmCli.log)にcurlのエラーが出力しうまくいきませんでした。
ググると色々出てきますが、私がやった環境での対処方法を残しておきます。

環境

Red Hat Enterprise Linux 6.10

エラーメッセージ

curl: (77) Problem with the SSL CA cert (path? access rights?)

対応

  • CA証明書がサーバーにインストールされているかを確認します。
# ls -l /etc/pki/tls/certs/ca-bundle.crt
  • ca-bundle.crtが存在していなかったため新規で用意します。なぜなかったのかは不明。。
  • 以下サーバーよりCA証明書をダウンロードします。
    https://curl.haxx.se/ca/cacert.pem

  • Azure VMに配置します。

# mv cacert.pem /etc/pki/tls/certs/ca-bundle.crt
  • ASRジョブリランして問題なければOKです。

以上

3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0