From 139c4aa6cd596d92b3d6af2c3c2d68b3ee879006 Mon Sep 17 00:00:00 2001 From: Fernando Miguel Date: Thu, 2 Feb 2017 12:48:37 +0000 Subject: [PATCH] add export to DNS values --- Synology-RT1900ac-install-guide.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Synology-RT1900ac-install-guide.md b/Synology-RT1900ac-install-guide.md index 9363c53..ac212ea 100644 --- a/Synology-RT1900ac-install-guide.md +++ b/Synology-RT1900ac-install-guide.md @@ -16,15 +16,16 @@ $ wget https://github.com/Neilpang/acme.sh/archive/master.tar.gz $ tar xvf master.tar.gz $ cd acme.sh-master/ $ ./acme.sh --install --nocron --home /volume1/@appstore/acme.sh +log out and login to ssh again so install is done :) next, config $ cd /volume1/@appstore/acme.sh -$ vi /volume1/@appstore/acme.sh/dnsapi/dns_cf.sh -set your email, cloudflare account and API (https://www.cloudflare.com/a/account/my-account) -ctrl+c -:wq (and you are out of VI(M) +get your email, cloudflare account and API (https://www.cloudflare.com/a/account/my-account) +type this to the shell, replace with the values above +export CF_Key="sdfsdfsdfljlbjkljlkjsdfoiwje" +export CF_Email="xxxx@sss.com" now to create your cert $ ./acme.sh --issue --post-hook "/usr/syno/sbin/synoservicecfg --restart httpd-sys" --dns dns_cf --certpath /usr/syno/etc/ssl/ssl.crt/server.crt --keypath /usr/syno/etc/ssl/ssl.key/server.key --fullchainpath /usr/syno/etc/ssl/ssl.intercrt/server-ca.crt --config-home /volume1/@appstore/acme.sh/ --dnssleep 15 -d YOURDOMAIN.TLD