imohsen
Verified User
- Joined
- Oct 30, 2011
- Messages
- 7
Hi
we have a few servers in Iran and you know that internet connectivity , special on tls/ssl connections , are not stable in my country . now our directadmin control panel was refused to work because it's unable to make a POST request to "https://licensing.directadmin.com/start" .
i can reach this url from bash inside the server ( got a html page page ) but when i tried to restart directadmin service it's unable to made this request .
i think about two possible scenario .
first one is to put a web proxy in front of this servers and send request to proxy servers then contact directadmin license servers . is it legal ?
second one change tls version of whatever language directadmin using to 1.3 and restart service . tls connection using tls v1.3 does not manipluate and it's connected but i don't know what language directadmin wroted by . ( from net/http package it's maybe ruby or go but i'm not familiar with this two language and i don't know how to manipluate tls version with this )
would you please help me if you have any other solution that make this server and control panels working again ?
we have a few servers in Iran and you know that internet connectivity , special on tls/ssl connections , are not stable in my country . now our directadmin control panel was refused to work because it's unable to make a POST request to "https://licensing.directadmin.com/start" .
i can reach this url from bash inside the server ( got a html page page ) but when i tried to restart directadmin service it's unable to made this request .
Bash:
Reason: request failed: Post "https://licensing.directadmin.com/start": net/http: TLS handshake timeout
Bash:
directadmin[1056252]: 2022/10/08 19:23:39 error license check failure error=request failed: Post "https://licensing.directadmin.com/start": net/http: TLS handshake timeout
i think about two possible scenario .
first one is to put a web proxy in front of this servers and send request to proxy servers then contact directadmin license servers . is it legal ?
second one change tls version of whatever language directadmin using to 1.3 and restart service . tls connection using tls v1.3 does not manipluate and it's connected but i don't know what language directadmin wroted by . ( from net/http package it's maybe ruby or go but i'm not familiar with this two language and i don't know how to manipluate tls version with this )
would you please help me if you have any other solution that make this server and control panels working again ?
Bash:
* Trying 104.26.12.65:443...
* TCP_NODELAY set
* Connected to licensing.directadmin.com (104.26.12.65) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
* subject: CN=*.directadmin.com
* start date: Aug 25 10:33:20 2022 GMT
* expire date: Nov 23 10:33:19 2022 GMT
* subjectAltName: host "licensing.directadmin.com" matched cert's "*.directadmin.com"
* issuer: C=US; O=Let's Encrypt; CN=E1
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x5596124ca620)
> POST / HTTP/2
> Host: licensing.directadmin.com
> user-agent: curl/7.68.0
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 256)!
< HTTP/2 200
< date: Sat, 15 Oct 2022 16:06:42 GMT
< content-type: text/html; charset=utf-8
< vary: Accept-Encoding
< cf-cache-status: DYNAMIC
< report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=0nnGJY1fdMpC0KpYk79o4hrrkxpW%2FOvOYweYNkg2rS5gcuzJE8gryucByt%2BeuSLzM3DfEOx3vokzSBhKVpGnTpykFeED4OMS2mdJxCpPvDIAamu1qkrDrnvoZ8O4tWDad0Yx9f8ifH98eZ4%3D"}],"group":"cf-nel","max_age":604800}
< nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< server: cloudflare
< cf-ray: 75a9cdb1e91bbbc5-FRA
<