Centos 8 Curl problem!

Issues related to applications and software problems and general support
Post Reply
jambo
Posts: 1
Joined: 2020/06/25 21:26:53

Centos 8 Curl problem!

Post by jambo » 2020/06/25 21:40:33

I have version 8.1.1911 installed and every time I try to use curl from the installed system, BACK TO the same installed system I get the following error:

curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number

I have verified that I am running tls1.3 on Apache by using my web browser and using my mac to curl to the server itself.

I have curl version 7.61.1:
Name : curl
Version : 7.61.1
Release : 12.el8
Architecture : x86_64
Size : 692 k
Source : curl-7.61.1-12.el8.src.rpm
Repository : @System
From repo : BaseOS
Summary : A utility for getting files from remote servers (FTP, HTTP, and others)
URL : https://curl.haxx.se/
License : MIT
Description : curl is a command line tool for transferring data with URL syntax, supporting
: FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP,
: SMTP, POP3 and RTSP. curl supports SSL certificates, HTTP POST, HTTP PUT, FTP
: uploading, HTTP form based upload, proxies, cookies, user+password
: authentication (Basic, Digest, NTLM, Negotiate, kerberos...), file transfer
: resume, proxy tunneling and a busload of other useful tricks.
I have libcurl version 7.61.1:
Name : libcurl
Version : 7.61.1
Release : 12.el8
Architecture : x86_64
Size : 579 k
Source : curl-7.61.1-12.el8.src.rpm
Repository : @System
From repo : BaseOS
Summary : A library for getting files from web servers
URL : https://curl.haxx.se/
License : MIT
Description : libcurl is a free and easy-to-use client-side URL transfer library, supporting
: FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, LDAP, LDAPS, FILE, IMAP,
: SMTP, POP3 and RTSP. libcurl supports SSL certificates, HTTP POST, HTTP PUT,
: FTP uploading, HTTP form based upload, proxies, cookies, user+password
: authentication (Basic, Digest, NTLM, Negotiate, Kerberos4), file transfer
: resume, http proxy tunneling and more.
Any help is greatly appreciated as this is affecting my operations big time!

Thank you!!!

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: Centos 8 Curl problem!

Post by aks » 2020/06/26 22:54:47

You running a proxy (post your curl with the --verbose)?

I guess you could use openssl s_client -debug -connect <host:port> to diagnose further
But note that curl could be compiled with many different providers (OpenSSL, GnuTLS etc.).

Mine uses OpenSSL:
$ ldd -v $(which curl) | grep libssl
libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007fd2e0842000)
libssl.so.1.1 (OPENSSL_1_1_1) => /lib64/libssl.so.1.1
....

Post Reply