我尝试在本地注册表实例上使用Docker Registry REST API V2 。
运行注册表:(docker run -d --network host --name registry registry:2
文档)。
检查注册表的命令:
$ curl https://localhost:5000/v2/_ping
curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number
我的 curl 使用 OpenSSL 1.1.1,它应该支持 TLS 1.3。但它不起作用:
$ curl -3 https://localhost:5000/v2/_ping
curl: (4) OpenSSL was built without SSLv3 support
Curl 和 OpenSSL 版本:
$curl --version
curl 7.64.0 (x86_64-pc-linux-gnu) libcurl/7.64.0 OpenSSL/1.1.1
Release-Date: 2019-02-06
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile NTLM NTLM_WB SSL TLS-SRP UnixSockets HTTPS-proxy
操作系统:Linux Mint 19.1
根据指南安装 OpenSSL 1.1.1 。
OpenSSL 1.1.1 是否支持 TLS 1.3?如何解决这个问题?