This script will help you to generate a trusted SSL certificate issued by Letsencrypt (letsencrypt.org).
This script uses https://github.com/certbot/certbot
- Obligatory, you need to have your own domain. Follow [this guide] (https://forum.lisk.io/viewtopic.php?f=38&t=1367) if you want a free domain.
- If the domain for your server is http://server01.yourdomain.com/ use -->
server01.yourdomain.com
- If the domain for your server is http://server01.yourdomain.com/ use -->
- You need to be familiar with ufw, follow this guide: [UFW - First time with a firewall] (https://forum.lisk.io/viewtopic.php?f=38&t=1342)
- You need to know your [Network Interface] (http://www.computerhope.com/unix/uifconfi.htm).
If you have a domain install a trusted SSL certificate issued by Letsencrypt use: bash installssl.sh
installssl.sh will guide you through the installation process.
To see the result of the script go to: ~/free-ssl-shift/logs/installssl.log
You need to complete all the installssl.sh instructions, at the end it will tell you to add one line to your cron jobs. This line will do the job of checking the expiring date of your certificate.
renewssl.sh
will renew your certificate if the expiration date is less than 30 days.
To see the result of the script go to: ~/free-ssl-shift/logs/renewssl.log
IMPORTANT NOTICE renewssl.sh will need you to perform a stop and start app.js, default will do ./shift_manager.bash stop
and ./shift_manager.bash start
.
If you don't have your own domain you can still generate a SSL certificate, use bash localssl.sh
It is recommended to have a domain and update your certificate with installssl.sh
This type of certificate doesn't need the renewssh.sh script.
To see the result of the script go to: ~/free-ssl-shift/logs/localssl.log
If you like this script please consider to vote/donate to this accounts:
SHIFT: [14156057994616021440S] (https://explorer.shiftnrg.org/address/14156057994616021440S)
Documentation: https://certbot.eff.org/docs
Software project: https://github.com/certbot/certbot
Notes for developers: https://certbot.eff.org/docs/contributing.html
Main Website: https://certbot.eff.org
Let's Encrypt Website: https://letsencrypt.org
Community: https://community.letsencrypt.org
ACME spec: http://ietf-wg-acme.github.io/acme/
ACME working area in github: https://github.com/ietf-wg-acme/acme