TLS Error While Trying to Manually Update

floyd

Verified User
Joined
Mar 29, 2005
Messages
6,248
Need a little help with this.

Code:
Resolving www.directadmin.com (www.directadmin.com)... 167.172.23.237
Connecting to www.directadmin.com (www.directadmin.com)|167.172.23.237|:443... connected.
GnuTLS: A TLS fatal alert has been received.
Unable to establish SSL connection.
Error downloading the update.tar.gz file
 
So is there any way to update DA and the license for Debian 7? I have tried updating the license and it seems to succeed but when I login it says the license is expired. When I try to update DA I get the above error.
 
This version is 1.58.2. I desperately need to update the license. No errors but the gui still says expired.

I have tried the old way with ./getLicense.sh CID LID

Code:
Resolving www.directadmin.com (www.directadmin.com)... 167.172.23.237
Connecting to www.directadmin.com (www.directadmin.com)|167.172.23.237|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: `/usr/local/directadmin/conf/license.key.temp'

    [ <=>                                                                                                  ] 1,559       --.-K/s   in 0s     

2022-03-07 20:41:35 (62.2 MB/s) - `/usr/local/directadmin/conf/license.key.temp' saved [1559]

I also tried the new way with the new script and hash. Still no errors but still says expired.

Code:
Using data: license_key=xxxxxxxxxxxxxxxx&insecure=yes
######################################################################## 100.0%
Success!!
 
Code:
head -n 1 /usr/local/directadmin/conf/license.key
version=1.3
 
forgot about license update, Please update DA binary to 1.63.7 before update license.

there have docs about manual using curl command.


so try adding "-k" to curl command to force non-verify ssl
 
Note: Please do not use this script for updating DirectAdmin on EOL distros. This script will install latest release without checking EOL status which most likely be non-functional on EOL systems.
 
Custombuild also says DA cannot be updated.
I had one centos 7 where at the CLI i did turn on DA autoupdate that workarround was the only working for me. The update license script only downloaded but after that long time kind of hangs (had to ctrls c that)
 
Debian 7 should be fine if 64bit
 
First with Debian you can upgrade in a step fashion. Its not like Rhel versions where you cant do in place upgrade.
Just update to 8 then 9. You can use this as a guide. You need to work out what name goes in the sources.list.
You may have to get to 9 before you can fully do ./build all

Yes Debian 7 and 8 is eol but 8 is supported on the new code so you can keep upgrading to 11.
if you are running any of our last three releases (1.63.4 / 1.63.5 / 1.63.6) then there is nothing you need to do. If you are running an older version, please upgrade your DirectAdmin in the control panel or manually. If you are unsure of your version, you can view it in the "Licensing / Updates" section of the control panel.

If you are using an operating system that has reached end-of life long ago, there may be no 1.63.0+ binaries available to you, and the upgrade procedures will fail. Upgrading your operating system to one we support is the only solution.

Please note: 1.63.X binares are available on CentOS 6 and Debian 8.
 
Last edited:
Hello,

I have the same problem on CentOS 5 (License has expired DA version=1.60.3)

/usr/local/directadmin/scripts/getDA.sh XXX XXXXX
--2022-03-08 23:07:16-- https://www.directadmin.com/cgi-bin/daupdate?lid=XXXXX&uid=XXXX
Resolving www.directadmin.com... 167.172.23.237
Connecting to www.directadmin.com|167.172.23.237|:443... connected.
OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Unable to establish SSL connection.
Error downloading the update.tar.gz file

I remember before I used to download without SSL, but now I'm not sure. Due to changes of DirectAdmin new license system
Is there a solution?

Thanks in advance
 
Last edited:
Is there a solution?

Thanks in advance
Yep you need to follow

CentOS 5 is EOL you need to upgrade.
 
I really just want to update the license right now but it doesn't seem possible.
 
I knew DA would not update but I had no idea the license would stop working for old versions as well.
 
the license would stop working for old versions as well
Yep you need to be a on a supported OS from here on out.. Its always been true. Just never enforced and now it is enforced.
 
Back
Top