I try to tell only the details
My browsers have no problem with https sites. But when they get to tools like links, wget and curl, they run into trouble, sites like gitlab, github, google, etc. are unable to provide https protocol with the mentioned tools. But most sites work and have no problems.
I think the problem is with the proxy because I created a file /etc/profile.d/proxy.sh and set my proxies to listen on the ssh server socket on port 6000 but I removed it again but the problem still There was.
I even removed curl and mistakenly wiped the kernel and system with it and loaded the os live and fixed it and now it works fine but I don't have access to sites like github.com and gitlab.com (only on tools, not in the browser)
[ahmadreza@ahmadreza ~]$ wget https://github.com
--2022-10-08 15:13:44-- https://github.com/
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
Unable to establish SSL connection.
[ahmadreza@ahmadreza ~]$ curl -v https://github.com
* Trying 140.82.121.4:443...
* Connected to github.com (140.82.121.4) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* SSL connection timeout
* Closing connection 0
curl: (28) SSL connection timeout
[ahmadreza@ahmadreza ~]$
I tested this problem on centos7 and successful operation
Proxy problem or something else? If you need more documents, tell me and I will upload the article.
I used Google Translate. I apologize if my words were vague or inappropriate :)
os : archlinux
**EDIT:**
Is it possible that there is a problem with the certificate?
Because there is no reason why sites like github.com should not come up, but a site like stackoverflow should come up!!!
If so, how can I fix it?
Asked by ahmadreza1383
(149 rep)
Oct 8, 2022, 06:40 PM
Last activity: Oct 8, 2022, 06:52 PM
Last activity: Oct 8, 2022, 06:52 PM