Free SSL Cert for Splynx (Let's encrypt)

ssl
https

#1

We will use acme.sh for getting cert:
https://github.com/Neilpang/acme.sh

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:


Splynx, LetsEncrypt (or any other SSL) and calling the splynx server from Node.js API
Problem after ssl certificate installing and configuration
Problem after ssl certificate installing and configuration
#3

Great guide! I have implemented SSL for portal.domain.com. But we use admin.domain.com for admins to login with and I have been unable to get multiple SSL certificates for more than one domain to work.


#4

I cannot load Maps in the map-addon after implementing SSL.


#5

Hello @Spencer_Pous,
I solved with these tips.
Have a look here

Have a good day


#6

Let’s Encrypt now provides Wildcard SSL for multi domain. You can get it free from March.