Wget Issues at admin level

ASupport

Verified User
Joined
Jan 26, 2021
Messages
19
Hi All,

Do you know where the admin user pulls its wget config from? I am having a TLS issue, all other users "root" and "otheradmin" have no issue running wget bitbucket.org however when i run it from the admin user I get the following:

wget bitbucket.org
URL transformed to HTTPS due to an HSTS policy
--2021-02-04 15:38:23-- https://bitbucket.org/
Resolving bitbucket.org (bitbucket.org)... 104.192.141.1, 2406:da00:ff00::22c5:2ef4, 2406:da00:ff00::22c2:513, ...
Connecting to bitbucket.org (bitbucket.org)|104.192.141.1|:443... connected.
GnuTLS: The request is invalid.
Unable to establish SSL connection.


However if i use wget --secure-protocol=tlsv1 (or 1_1, 1_2 and 1_3) it works without issue:

wget --secure-protocol=tlsv1 bitbucket.org
URL transformed to HTTPS due to an HSTS policy
--2021-02-04 15:45:07-- https://bitbucket.org/
Resolving bitbucket.org (bitbucket.org)... 104.192.141.1, 2406:da00:ff00::22c0:3470, 2406:da00:ff00::22c3:9b0a, ...
Connecting to bitbucket.org (bitbucket.org)|104.192.141.1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 73321 (72K) [text/html]
Saving to: 'index.html.8'

index.html.8 100%[====================================================================================================================================================================================================>] 71.60K --.-KB/s in 0.08s

2021-02-04 15:45:08 (876 KB/s) - 'index.html.8' saved [73321/73321]


Is the admin account limited in some way and how can i specify the TLS version?

Thanks
 
Back
Top