Monday, November 18, 2019

Letsencrypt with Zonomi

Setup acme.sh

  • git clone https://github.com/Neilpang/acme.sh.git
  • cd ./acme.sh/
  • ./acme.sh --install
  • export ZM_Key="zonomi API Key"
  • acme.sh --issue -d wjw.nz -d *.wjw.nz -d walkerfamily.kiwi -d *.walkerfamily.kiwi --dns dns_zonomi


To fix cert error with curl:
  • wget http://curl.haxx.se/ca/cacert.pem
  • mv cacert.pem /etc/ssl/certs/
  • nano /etc/php/7.0/cli/php.ini 
  • add "curl.cainfo ="/etc/ssl/certs/cacert.pem" under "[curl]"

No comments: