1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

curl: (59) failed setting cipher list: 出たときの対処法memo

Posted at

メモ走り書き

そもそもNSSかOpenSSLか (curl -v で見た目判断)

自分の場合、サーバ引越し時に
移転元がNSS
移転先がOpenSSL

と変わっている状態だった。
OpenSSLの場合、Cipherのリストは

openssl ciphers -v

で確認できる

openSSLとNSSでは設定する値の表現が違うので、NSS<->OpenSSLで環境が変わるとエラー。

curl -v https://apple-pay-gateway.apple.com --cipher ecdhe_rsa_aes_128_gcm_sha_256

でエラーが出るのであれば、以下で試す形になる

curl -v https://apple-pay-gateway.apple.com --cipher ECDHE-RSA-AES128-GCM-SHA256

PHPのCURLでも同様。

1
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
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?