Curl error (35): SSL connect error

foxtrothotel

New Member
Joined
Aug 20, 2022
Messages
1
Reaction score
0
Credits
12
Good day everyone

I know the corporate firewall is blocking this.
Is there some means of importing an SSL cert or a workaround to resolve this?
I found this to be true on multiple flavors of Linux.

Thank you

Code:
# dnf install cockpit
Oracle Linux 9 BaseOS Latest  (x86_64)                                                                       0.0  B/s |   0  B     00:01
Errors during downloading metadata for repository 'ol9_baseos_latest':
  - Curl error (35): SSL connect error for https://yum.oracle.com/repo/OracleLinux/OL9/baseos/latest/x86_64/repodata/repomd.xml [error:0A000126:SSL routines::unexpected eof while reading]
Error: Failed to download metadata for repo 'ol9_baseos_latest': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

# curl -v https://yum.oracle.com/repo/OracleLinux/OL9/baseos/latest/x86_64/repodata/repomd.xml
* Uses proxy env variable https_proxy == 'https://domainUID:DomainPWD@SomeProxy:80'
*   Trying SomeProxy:80...
* Connected to SomeProxy (SomeProxy) port 80 (#0)
* ALPN, offering http/1.1
*  CAfile: /etc/pki/tls/certs/ca-bundle.crt
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (OUT), TLS alert, decode error (562):
* error:0A000126:SSL routines::unexpected eof while reading
* Closing connection 0
curl: (35) error:0A000126:SSL routines::unexpected eof while reading
 


Try this
Code:
sudo: curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor >/usr/share/keyrings/nginx-signing.gpg
and the try to update
 

Members online


Top