カテゴリー別アーカイブ: debian

debian で cert の update 方法

cert を追加するには 「dpkg-reconfigure ca-certificates」

curl を使って https://twitter.com/ を取得したら certificate が信用ならんとエラーがでた

$ curl https://twitter.com/
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html

どうも、認証機関が追加されてないようだ。以下のようにして、再構成して追加すればよい。

sudo dpkg-reconfigure ca-certificates

参考文献