curlのSSLを有効にする(MacPorts)

Amazon S3へのアップロード時に、

Protocol https not supported or disabled in libcurl

というエラーが発生。

これは、MacPortsでインストールしたcurlがwithout-sslになっていた事が原因でした。

$ sudo port uninstall curl
$ sudo port edit curl
にて編集モードにしてから
configure.argsの
–without-ssl

–with-ssl
に変更します。

$ sudo port install curl
これで、完了となるところですが、
php5やら、gimpやら、gitやらが依存してたので、この機会にそれらもアップデートしました。

Apacheの再起動で完了。

Popularity: 16% [?]

Leave a Reply

Blog Widget by LinkWithin