ERROR: cannot verify certificate

If you are trying to download Ghost and get the following error:

ERROR: The certificate of ‘’ is not trusted.
ERROR: The certificate of ‘’ hasn't got a known issuer.

or sometimes this one

ERROR: cannot verify's certificate, issued by /C=BE/O=GlobalSign nv-sa/CN=GlobalSign Organization
Validation CA - G2:
Unable to locally verify the issuer's authority.
ERROR: certificate common name doesn't match requested host name
To connect to insecurely, use --no-check-certificate.
Unable to establish SSL connection.

Both of these are typically caused when using wget to download Ghost.There are a couple ways around this.
You can have wget not check the certificate and download the file:

wget --no-check-certificate

Ghost Download - wget No Certificate Check

Or, if you don't want to skip over the certificate, you can use the curl command instead of wget:

curl -L -O

Ghost Download - curl

We typically use the curl method, but either way should work to fix the download error