Certificate not recognised on mac with wget or lftp

My domain is:
lastninja.net (https://crt.sh/?q=lastninja.net)

I ran this command:

wget -r https://lastninja.net:8080/

It produced this output:

–2019-06-13 00:37:40-- https://lastninja.net:8080/
Resolving lastninja.net (lastninja.net)…
Connecting to lastninja.net (lastninja.net)||:8080… connected.
ERROR: cannot verify lastninja.net’s certificate, issued by ‘CN=Let’s Encrypt Authority X3,O=Let’s Encrypt,C=US’:
Unable to locally verify the issuer’s authority.
To connect to lastninja.net insecurely, use `–no-check-certificate’.


Mac OS X 10.14.5
wget 1.20.3 (installed using homebrew - not completely sured if linked to homebrew openssl or OSX openssl or it’s own tls/crypto library with an openssl shim)

1 Like

Nevermind fixed the issue, had to think a little out of the box.

I configured the webserver to use the fullchain.pem instead of cert.pem.


Glad to hear you’re all set now! :lock: :muscle:

Thanks for reporting back with what the solution was.