We will use acme.sh for getting cert:
How to install -
curl https://get.acme.sh | sh
Result:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 671 100 671 0 0 57 0 0:00:11 0:00:11 --:–:-- 200
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 133k 100 133k 0 0 659k 0 --:–:-- --:–:-- --:–:-- 662k
[Tue Feb 21 12:40:13 UTC 2017] Installing from online archive.
[Tue Feb 21 12:40:13 UTC 2017] Downloading https://github.com/Neilpang/acme.sh/archive/master.tar.gz
[Tue Feb 21 12:40:15 UTC 2017] Extracting master.tar.gz
[Tue Feb 21 12:40:15 UTC 2017] Installing to /root/.acme.sh
[Tue Feb 21 12:40:15 UTC 2017] Installed to /root/.acme.sh/acme.sh
[Tue Feb 21 12:40:15 UTC 2017] Installing alias to ‘/root/.bashrc’
[Tue Feb 21 12:40:15 UTC 2017] OK, Close and reopen your terminal to start using acme.sh
[Tue Feb 21 12:40:15 UTC 2017] Installing cron job
no crontab for root
no crontab for root
[Tue Feb 21 12:40:15 UTC 2017] Good, bash is found, so change the shebang to use bash as preferred.
[Tue Feb 21 12:40:15 UTC 2017] OK
[Tue Feb 21 12:40:15 UTC 2017] Install success!
Ok, lets make SSL for our domain:
service nginx stop
/root/.acme.sh/acme.sh --issue --standalone -d your-domain.com
service nginx start
result will be like:
[Tue Feb 21 12:41:12 UTC 2017] Your cert is in /root/.acme.sh/your-domain.com/your-domain.com.cer
[Tue Feb 21 12:41:12 UTC 2017] Your cert key is in /root/.acme.sh/your-domain.com/your-domain.com.key
[Tue Feb 21 12:41:12 UTC 2017] The intermediate CA cert is in /root/.acme.sh/your-domain.com/ca.cer
[Tue Feb 21 12:41:12 UTC 2017] And the full chain certs is there: /root/.acme.sh/your-domain.com/fullchain.cer
check manual: https://ispframework.freshdesk.com/solution/articles/16000032878-splynx-and-ssl-https-
cp /var/www/splynx/default/etc/nginx/sites-available/splynx-ssl /etc/nginx/sites-available/splynx-ssl
ln -s /etc/nginx/sites-available/splynx-ssl /etc/nginx/sites-enabled/splynx-ssl
rm /etc/nginx/sites-enabled/splynx
edit file: /etc/nginx/sites-available/splynx-ssl
change: /etc/ssl/certs/ssl-cert-snakeoil.pem to /root/.acme.sh/your-domain.com/fullchain.cer
change: /etc/ssl/private/ssl-cert-snakeoil.key to /root/.acme.sh/your-domain.com/your-domain.com.key
service nginx restart
and open your web browser to https://your-domain.com/
test your new SSL cert you can on https://www.ssllabs.com/
after install SSL on your server, by default add-on(s) stop work, solution is: