My old server does not support new SSL Protocols, but I need to update my license


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » DirectAdmin » Licenses

My old server does not support new SSL Protocols, but I need to update my licenseLast Modified: Mar 31, 2020, 4:40 pm
Older OSs like CentOS 4 do not support TLSv1.2, so will not be able to use https connections for most websites (you should update your OS).
However, you can still get a new license if you do so with http on port 80.

  1. First, specify if you're running an init.d or systemd box.  Most older boxes affected by this issue are init.d:
  2. To do this, simply run the following to create a file to tell the scripts what to do:

    echo 1 > /root/.insecure_download

  3. and manually test your getLicense.sh script to get a new License by running:

    /usr/local/directadmin/scripts/getLicense.sh auto

    to ensure it's working correctly.
    NOTE: Depending on the age of your script, it might not support the "auto" function or .insecure_download option, so you'd need a newer getLicense.sh script:

    wget -O /usr/local/directadmin/scripts/getLicense.sh http://files.directadmin.com/services/all/getLicense.sh

  4. Setup a monthly cron to make this call by editing:

    /etc/cron.d/directadmin_cron

    and at the bottom of the file, add the following:

    30 8 1 * * root /usr/local/directadmin/scripts/getLicense.sh auto; /etc/init.d/directadmin restart

    which should run at 8:30am, on the 1st of each month to get a new license.key file.  Restart crond after editing the file:

    /etc/init.d/crond restart



Related Errors

  1. Unable to connect to secure socket
    Unable to connect to 192.169.82.155
    Unable to connect to secure socket
    Unable to connect to secure socket
    Unable to connect to secure socket
    Unable to connect to any site for a license update

  2. New License is invalid: Unable to read the contents of the license


 
Related Helpfiles
Updating your DirectAdmin License manually
I need to automate the updating of my license file in ssh

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST