Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Jie Jue curl: Protocol "https" not supported or disabled in libcurl #77

Open
Open
Jie Jue curl: Protocol "https" not supported or disabled in libcurl #77
Labels

Description

Yi , Xian Xiang

Zai Centos7Huan Jing Xia ,Zhi Xing curlMing Ling Bao Cuo :

curl: (1) Protocol "https" not supported or disabled in libcurl

Er , Jie Jue Fang Fa

1, Jian Cha curlBan Ben Qing Kuang

[root@~]# curl -V
curl 7.55.1 (x86_64-pc-linux-gnu) libcurl/7.55.1
Release-Date: 2017-08-14
Protocols: dict file ftp gopher http imap pop3 rtsp smtp telnet tftp
Features: AsynchDNS IPv6 Largefile UnixSockets

Cong Jie Guo Kan ,Xi Tong An Zhuang De curlBan Ben Que Shi Bu Zhi Chi https,Yin Ci Xu Yao Zhong Xin An Zhuang curl

2, Zhong Xin An Zhuang opensslBan Ben

Zhi Xing Yi Xia Ming Ling :

[root]# vi install_openssl.sh
#!/bin/bash
wget https://www.openssl.org/source/openssl-1.1.1c.tar.gz
tar -zxvf openssl-1.1.1c.tar.gz
cd openssl-1.1.1c
./config --prefix=/usr/local/openssl #Ru Guo Ci Bu Zou Bao Cuo ,Xu Yao An Zhuang perlYi Ji gccBao
make && make install
mv /usr/bin/openssl /usr/bin/openssl.bak
ln -sf /usr/local/openssl/bin/openssl /usr/bin/openssl
echo "/usr/local/openssl/lib" >> /etc/ld.so.conf
ldconfig -v

[root]# sh install_openssl.sh
[root]# openssl version

3, Zhong Xin An Zhuang curl

Zhi Xing Yi Xia Ming Ling :

[root]# vi install_curl.sh
#!/bin/bash
wget https://curl.se/download/curl-7.78.0.tar.gz
tar -zxvf curl-7.78.0.tar.gz
cd curl-7.78.0/
./configure -with-ssh=/usr/local/ssl
make
make install

[root]# sh install_curl.sh

Zai Bian Yi curlDe Shi Hou Bao Cuo :

vtls/openssl.c: In function 'Curl_ossl_seed':
vtls/openssl.c:279:5: error: implicit declaration of function 'RAND_egd' [-Werror=implicit-function-declaration]
int ret = RAND_egd(data->set.str[STRING_SSL_EGDSOCKET]?
^
cc1: some warnings being treated as errors
Makefile:2023: recipe for target 'vtls/libcurl_la-openssl.lo' failed
make[2]: *** [vtls/libcurl_la-openssl.lo] Error 1

Yuan Yin Shi Xi Tong Zhong An Zhuang Liao Duo Ge opensslDe Bao ,Chu Li Fang Fa Shi :

yum remove openssl-devel

Zhong Xin Zhi Xing Yi Bian

cd curl-7.78.0/
./configure -with-ssh=/usr/local/ssl
make
make install

Que Ren Ban Ben Hao , Yi Jing Zeng Jia Liao "https"Mo Kuai

[root]# curl --version
curl 7.78.0 (x86_64-pc-linux-gnu) libcurl/7.78.0 OpenSSL/1.1.1c zlib/1.2.7
Release-Date: 2021-07-21
Protocols: dict file ftp ftps gopher gophers http https imap imaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS HSTS HTTPS-proxy IPv6 Largefile libz NTLM NTLM_WB SSL TLS-SRP UnixSockets

San , Can Kao Lian Jie

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions