On OSX, when I use wget for downloading file from https source, I got the Certificate issue error.
The reason for this problem is that the default certificate directory is hard-coded in wget as /etc/ssl/certs, which corresponds to the Linux directory layout and doesn’t exist on Mac OS.
To fix this, you can either tell wget to skip certificate check or fix the
certificate error in Mac OS. For the first solution, just add
--no-check-certificate
to the wget
command when you start it. For example
If you want to fix the problem, first, install curl-ca-bundle from Macports
Next, edit your ~/.wgetrc file (create a new one if it’s not exist yet) and add this line to the end of the file
If you have followed my previous post on How to install and run Macports form home directory, then the link to curl-ca-bundle should be