怎么更新composer版本?

我在命令行输入composer self-update,报错了,以下是报错信息:

[Composer\Downloader\TransportException]
The "https://getcomposer.org/version" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify
failed
Failed to enable crypto
failed to open stream: operation failed

我该怎么解决呢?
已邀请:

js - 精通各种疑难 Bug 编写。

赞同来自:

按照你当初的安装方式,重新安装新版吧。

要回复问题请先登录注册