- 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 wjw.co.nz -d *.wjw.co.nz -d wjw.co.uk -d *.wjw.co.uk -d wjw.uk -d *.wjw.uk -d walkerfamily.kiwi -d *.walkerfamily.kiwi -d *.nzags.com --dns dns_zonomi
cd /home/user-data/ssl
rm ssl_certificate.pem
ln -s wjw.nz/wjw.nz.cer ssl_certificate.pem
rm ssl_private_key.pem
ln -s wjw.nz/wjw.nz.key ssl_private_key.pem
To fix cert error with curl:
For mixed DNS hosting
- 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]"
acme.sh --issue --force -d walkerfamily.kiwi --dns dns_gd -d *.walkerfamily.kiwi --dns dns_gd -d wjw.nz -d *.wjw.nz -d wjw.co.nz -d *.wjw.co.nz -d wjw.co.uk -d *.wjw.co.uk -d wjw.uk -d *.wjw.uk -d *.nzags.com --dns dns_zonomi
No comments:
Post a Comment