LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-11-2018, 03:30 AM   #1
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit on one HDD, Slackware64-current on anotherHDD, VoidLinux on Libreboot laptop
Posts: 169

Rep: Reputation: Disabled
wget: unable to establish SSL connection, while downloading libreoffice from slackbuild


Dear Slackers
On my TEHNOETIC T400 laptop, with libreboot, Dragora2.2 was pre-installed as per my choice. Since Dragora 3 is not yet fully released, and I wanted some applications not in Dragora2.2, I installed Slackware14.2 on this, using DVD, and upgraded it. All OK
I want to install libre office. I am getting below message
Quote:
bash-4.3# wget https://download.documentfoundation....-64_rpm.tar.gz
--2018-11-11 09:38:10-- https://download.documentfoundation....-64_rpm.tar.gz
Resolving download.documentfoundation.org... 2a00:1828:a012:185::1, 89.238.68.185
Connecting to download.documentfoundation.org|2a00:1828:a012:185::1|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://mirrors.estointernet.in/tdf/...-64_rpm.tar.gz [following]
--2018-11-11 09:38:12-- https://mirrors.estointernet.in/tdf/...-64_rpm.tar.gz
Resolving mirrors.estointernet.in... 2404:9d00:0:1::ffff, 2001:df4:a300:1::ffff, 103.11.81.206, ...
Connecting to mirrors.estointernet.in|2404:9d00:0:1::ffff|:443... connected.
Unable to establish SSL connection.
What might be the issue? Pl. guide

Last edited by san2ban; 11-11-2018 at 03:34 AM.
 
Old 11-11-2018, 03:47 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
No problem here, downloading that URL on Slackware 14.2:
Code:
$ wget https://download.documentfoundation.org/libreoffice/stable/6.1.3/rpm/x86_64/LibreOffice_6.1.3_Linux_x86-64_rpm.tar.gz
--2018-11-11 10:44:07--  https://download.documentfoundation.org/libreoffice/stable/6.1.3/rpm/x86_64/LibreOffice_6.1.3_Linux_x86-64_rpm.tar.gz
Resolving download.documentfoundation.org... 89.238.68.185, 2a00:1828:a012:185::1
Connecting to download.documentfoundation.org|89.238.68.185|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://mirror.dkm.cz/tdf/libreoffice/stable/6.1.3/rpm/x86_64/LibreOffice_6.1.3_Linux_x86-64_rpm.tar.gz [following]
--2018-11-11 10:44:07--  http://mirror.dkm.cz/tdf/libreoffice/stable/6.1.3/rpm/x86_64/LibreOffice_6.1.3_Linux_x86-64_rpm.tar.gz
Resolving mirror.dkm.cz... 86.49.49.49, 2a02:8300:8000:3::49
Connecting to mirror.dkm.cz|86.49.49.49|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 227830325 (217M) [application/octet-stream]
Saving to: 'LibreOffice_6.1.3_Linux_x86-64_rpm.tar.gz'

.3_Linux_x86-64_rpm  25%[====>               ]  55.85M  11.0MB/s    eta 15s    ^C
I also tried that that specific download mirror you contacted and it works for me as well, no SSL errors.
Try upgrading all the packages in the Slackware 14.2 /patches directory of any online mirror.
 
Old 11-11-2018, 04:43 AM   #3
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit on one HDD, Slackware64-current on anotherHDD, VoidLinux on Libreboot laptop
Posts: 169

Original Poster
Rep: Reputation: Disabled
I have installed only XFCE. No KDE. Able to connect to other sites. Only for libreoffice download, this issue persits
 
Old 11-11-2018, 05:19 AM   #4
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Make sure your time/date is right and update (refresh) the ssl certificates, as root, type:
Code:
/usr/sbin/update-ca-certificates --fresh
Check if you can get the LibreOffice now. If that "Unable to establish SSL connection." is still showing up, then try using the --no-check-certificate option as a workaround:
Code:
wget --no-check-certificate https://download.documentfoundation.org/libreoffice/stable/6.1.3/rpm/x86_64/LibreOffice_6.1.3_Linux_x86-64_rpm.tar.gz
P.S.
Alternatively, you can switch to TLSv1.0 by adding the --secure-protocol=TLSv1 option to wget.
Code:
wget --secure-protocol=TLSv1 https://download.documentfoundation.org/libreoffice/stable/6.1.3/rpm/x86_64/LibreOffice_6.1.3_Linux_x86-64_rpm.tar.gz
The mirror looks to support it:
Code:
/usr/bin/openssl s_client -connect mirrors.estointernet.in:443 -tls1
# ...
# SSL-Session:
# Protocol  : TLSv1
# Cipher    : ECDHE-RSA-AES256-SHA
# ...
More info:
https://superuser.com/questions/1182...ssl-connection

Another alternative, point wget directly to the mirror (take it from AlienBOB's try):
Code:
wget mirror.dkm.cz/tdf/libreoffice/stable/6.1.3/rpm/x86_64/LibreOffice_6.1.3_Linux_x86-64_rpm.tar.gz

Last edited by abga; 11-11-2018 at 11:09 AM. Reason: P.S. + wrong URL
 
Old 11-11-2018, 06:33 AM   #5
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit on one HDD, Slackware64-current on anotherHDD, VoidLinux on Libreboot laptop
Posts: 169

Original Poster
Rep: Reputation: Disabled
Below suggestions did not work
Quote:
Make sure your time/date is right and update (refresh) the ssl certificates, as root, type:
Code:

/usr/sbin/update-ca-certificates --fresh

Check if you can get the LibreOffice now. If that "Unable to establish SSL connection." is still showing up, then try using the --no-check-certificate option as a workaround:
Code:

wget --no-check-certificate https://download.documentfoundation....-64_rpm.tar.gz
Will try further points

ca certificates not being updated. says no such file

Last edited by san2ban; 11-12-2018 at 08:36 AM.
 
Old 11-11-2018, 06:36 AM   #6
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit on one HDD, Slackware64-current on anotherHDD, VoidLinux on Libreboot laptop
Posts: 169

Original Poster
Rep: Reputation: Disabled
Below point also did not work
Quote:
P.S.
Alternatively, you can switch to TLSv1.0 by adding the --secure-protocol=TLSv1 option to wget.
Code:

wget --secure-protocol=TLSv1 https://download.documentfoundation....fice_6.1.3_Lin

Last edited by san2ban; 11-11-2018 at 06:42 AM.
 
Old 11-11-2018, 06:39 AM   #7
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit on one HDD, Slackware64-current on anotherHDD, VoidLinux on Libreboot laptop
Posts: 169

Original Poster
Rep: Reputation: Disabled
last point:
Quote:
bash-4.3# wget http://mirror.dkm.cz/tdf/libreoffice...nux_x86-64_rpm
--2018-11-11 12:55:46-- http://mirror.dkm.cz/tdf/libreoffice...nux_x86-64_rpm
Resolving mirror.dkm.cz... 2a02:8300:8000:3::49, 86.49.49.49
Connecting to mirror.dkm.cz|2a02:8300:8000:3::49|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-11-11 12:55:47 ERROR 404: Not Found.

Last edited by san2ban; 11-11-2018 at 06:41 AM.
 
Old 11-11-2018, 07:00 AM   #8
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit on one HDD, Slackware64-current on anotherHDD, VoidLinux on Libreboot laptop
Posts: 169

Original Poster
Rep: Reputation: Disabled
Could update ca certificates by below command
#update-ca-certificates -f
 
Old 11-11-2018, 07:01 AM   #9
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit on one HDD, Slackware64-current on anotherHDD, VoidLinux on Libreboot laptop
Posts: 169

Original Poster
Rep: Reputation: Disabled
Problem still unresolved. Internet connection good. Any other suggestions for SSL connection?
 
Old 11-11-2018, 07:54 AM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Have you fully updated your installation? 14.2 is 2+ years old and has had many patches over that time.

To check your ca-certificates package, what is the output of the following command?

Code:
ls -l /var/log/packages/ca-certificate-*
 
Old 11-11-2018, 11:22 AM   #11
abga
Senior Member
 
Registered: Jul 2017
Location: EU
Distribution: Slackware
Posts: 1,634

Rep: Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929Reputation: 929
Sorry, was busy until now. I was also in a hurry when I added the P.S. to my post #4 and apparently truncated the mirror URL, corrected now:
Code:
wget mirror.dkm.cz/tdf/libreoffice/stable/6.1.3/rpm/x86_64/LibreOffice_6.1.3_Linux_x86-64_rpm.tar.gz
As bassmadrigal suggests, please check if you have the ca-certificates package available.

I haven't considered that because in #1 you described your Slackware installation and upgrade:
Quote:
I installed Slackware14.2 on this, using DVD, and upgraded it.
Just after that, in #5, you stated that you were unsuccessful in updating the certificates, "no such file" might imply that you didn't have the ca-certificates package installed:
Quote:
ca certificates not being updated. says no such file
But then, in #8, you state you were succesful in updating the certificates ...:
Quote:
Could update ca certificates by below command
#update-ca-certificates -f
Until we figure more out about your Slackware setup, you can try downloading LibreOffice, either by using wget or FireFox, from the corrected mirror.dkm.cz URL.

Last edited by abga; 11-11-2018 at 11:38 AM. Reason: typo
 
Old 11-12-2018, 08:33 AM   #12
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit on one HDD, Slackware64-current on anotherHDD, VoidLinux on Libreboot laptop
Posts: 169

Original Poster
Rep: Reputation: Disabled
hello abga
You had suggested as below. This did not work
Quote:
/usr/sbin/update-ca-certificates --fresh
The command that I posted, worked.
I will try the url in your last post and report back

abga: Thanks very much. I am able to download the file now. Can this be put into the readme file in slackbuild for libreoffice?

Last edited by san2ban; 11-12-2018 at 08:40 AM.
 
Old 11-12-2018, 09:02 AM   #13
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit on one HDD, Slackware64-current on anotherHDD, VoidLinux on Libreboot laptop
Posts: 169

Original Poster
Rep: Reputation: Disabled
Thanks for the support. Libre-office installed

One small query. SBo page for libreoffice says, this requires avahi, jdk.
I did not download and install both. Yet, libre-office is working. Is this OK?
Or, should i download avahi and jdk? Headache, since other dependencies mentioned for these packages. like a monkey's tail...
 
Old 11-12-2018, 09:07 AM   #14
san2ban
Member
 
Registered: May 2013
Location: Bengaluru / India
Distribution: Slackware14.2-64bit on one HDD, Slackware64-current on anotherHDD, VoidLinux on Libreboot laptop
Posts: 169

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
Have you fully updated your installation? 14.2 is 2+ years old and has had many patches over that time.

To check your ca-certificates package, what is the output of the following command?

Code:
ls -l /var/log/packages/ca-certificate-*
bassmadrigal, pl. see below the output of the command that you mentioned
Quote:
bash-4.3# ls -l /var/log/packages/ca-certificate-*
ls: cannot access '/var/log/packages/ca-certificate-*': No such file or directory
 
Old 11-12-2018, 02:16 PM   #15
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I love it when people do incomplete installations.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat 6.4 wget fails with Unable to establish SSL connection error Benfo Linux - Newbie 1 07-26-2018 06:25 AM
[SOLVED] wget unable to establish SSL connect slackware 13.1 timsoft Slackware 8 04-19-2016 09:09 AM
Proxy tunneling failed: UnauthorizedUnable to establish SSL connection. thomas2004ch Linux - Software 1 08-12-2013 08:18 AM
mysql driver unable to create a connection due to an inabilityto establish connection jayakumar01 Linux - Server 1 01-04-2012 09:04 AM
unable to establish connection neerajchaudhari Linux - Software 2 09-14-2005 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration