Skip to content

libcurl HTTPS issues on FreeBSD #1060

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wagenet opened this issue Apr 12, 2017 · 2 comments
Closed

libcurl HTTPS issues on FreeBSD #1060

wagenet opened this issue Apr 12, 2017 · 2 comments

Comments

@wagenet
Copy link

wagenet commented Apr 12, 2017

I'm not certain whether this is actually Rustup's fault, but I'm having issues with https connections in Rustup on FreeBSD.

$ curl https://sh.rustup.rs -sSf | sh -s -- -y
info: downloading installer
info: syncing channel updates for 'stable-x86_64-unknown-freebsd'
error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256' to '/home/vagrant/.rustup/tmp/4lfxi8knrpct9x3e_file'
info: caused by: error during download
info: caused by: [1] Unsupported protocol (Protocol "https" not supported or disabled in libcurl)

Curl claims to support https and when I try to hit an https URL directly with it, it works.

$ curl -V
curl 7.53.1 (amd64-portbld-freebsd10.3) libcurl/7.53.1 OpenSSL/1.0.1t zlib/1.2.8 nghttp2/1.21.1
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp smtp smtps telnet tftp
Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP HTTP2 UnixSockets HTTPS-proxy

I'm also not seeing multiple libcurls installed either...

$ locate libcurl
/usr/local/lib/libcurl.a
/usr/local/lib/libcurl.so
/usr/local/lib/libcurl.so.4
/usr/local/lib/libcurl.so.4.4.0
/usr/local/libdata/pkgconfig/libcurl.pc
/usr/local/man/man3/libcurl-easy.3.gz
/usr/local/man/man3/libcurl-errors.3.gz
/usr/local/man/man3/libcurl-multi.3.gz
/usr/local/man/man3/libcurl-share.3.gz
/usr/local/man/man3/libcurl-symbols.3.gz
/usr/local/man/man3/libcurl-thread.3.gz
/usr/local/man/man3/libcurl-tutorial.3.gz
/usr/local/man/man3/libcurl.3.gz
/usr/local/share/aclocal/libcurl.m4
/usr/local/share/doc/curl/libcurl
/usr/local/share/doc/curl/libcurl/ABI
/usr/local/share/doc/curl/libcurl/index.html
/usr/local/share/doc/curl/libcurl/libcurl.m4
$ locate bin/curl
/usr/local/bin/curl
/usr/local/bin/curl-config

Anyway, my apologies if this is not actually Rustup's fault.

@malbarbo
Copy link
Contributor

See #1051

@wagenet
Copy link
Author

wagenet commented Apr 12, 2017

Closing as a duplicate.

@wagenet wagenet closed this as completed Apr 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants