“The following instructions assume you got your wget from macports using port install wget.

  • Copy cacert.pem to /opt/local/etc/cacert.pem
  • Create the following configuration file at /opt/local/etc/wgetrc: ca_certificate=/opt/local/etc/cacert.pem”