
Ubuntu 16.04.4 LTS의 내 컬이 작동하지 않습니다(https 웹사이트에 인증서 문제가 있다고 표시되지만 내 OS 인증서는 괜찮습니다... 브라우저에서 동일한 사이트에 제대로 액세스할 수 있습니다. 심지어 작업 내보내기를 시도했습니다.) 브라우저의 인증서와 컬이 여전히 작동하지 않습니다). Apt-get은 컬이 최신 상태라고 말합니다. 분명히 그렇지 않습니다. 그래서 컬 페이지로 이동했습니다. https://curl.se/docs/install.html. vcpkg를 사용하라고 나옵니다. 문제는 vcpkg에 컬이 필요하다는 것입니다!
실패한 vcpkg 설치의 로그는 다음과 같습니다.
-- Downloading https://www.openssl.org/source/openssl-3.0.3.tar.gz -> openssl-3.0.3.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'manifests' = off
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] 31607: popen(curl --fail -L https://www.openssl.org/source/openssl-3.0.3.tar.gz --create-dirs --output /root/rclone/vcpkg/downloads/openssl-3.0.3.tar.gz.31607.part 2
>&1)
[DEBUG] 31607: cmd_execute_and_stream_data() returned 60 after 394329 us
Error: Failed to download from mirror set:
https://www.openssl.org/source/openssl-3.0.3.tar.gz: % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle"
of Certificate Authority (CA) public keys (CA certs). If the default
bundle file isn't adequate, you can specify an alternate file
using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
the bundle, the certificate verification probably failed due to a
problem with the certificate (it might be expired, or the name might
not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
the -k (or --insecure) option.
그래서 이것은 막다른 골목인 것 같습니다. 또 어떻게 컬을 얻을 수 있나요?
도움이 된다면 curl
제가 가지고 있는 것(에서 apt-get
) 을 확인하세요.
curl --version
curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets
시스템 정보:
uname -a
Linux moxie 4.15.0-142-generic #146~16.04.1-Ubuntu SMP Tue Apr 13 09:27:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial