error with wget: use `--no-check-certificate` for licenses/updates

If you get the following:

server# ./getLicense.sh 1234 5678
--13:13:11-- https://www.directadmin.com/cgi-bin/licenseupdate?lid=1234&uid=5678
=> `/usr/local/directadmin/conf/license.key'
Resolving www.directadmin.com... 66.51.122.131
Connecting to www.directadmin.com|66.51.122.131|:443... connected.
ERROR: Certificate verification error for www.directadmin.com: unable to get local issuer certificate
To connect to www.directadmin.com insecurely, use `--no-check-certificate'.
Unable to establish SSL connection.
Error downloading the license file

You'll need to recompile a new wget binary for your system:

Note that the tar.gz package in the above link has been modified from the original; the certificate checks have been removed to prevent the error.

On debian, one can just install ca-certificates to provide the “local issuer certificates” that wget is looking for:

apt-get install ca-certificates
 
licenses/error.txt · Last modified: 2010/02/20 21:28 by muscardin
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Please visit Automatic Backlinks to start earning free backlinks Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki