This bash script is based on two blog posts about securing your website using free SSL certificates from StartSSL. It generates a 'certificate request file' that is automatically pasted to your clipboard to fill in on the StartSSL website. As soon as you generated the certificate you can paste it back to the script and it is saved in the same folder and (if wanted) uploaded to you webserver using scp.
- curl
- openssl
- scp
git clone https://github.com/thomastweets/setupSSL.git
cd setupSSL
chmod +x generateCertificate.sh
There are some parameters to configure the script at the top ('Settings').
./generateCertificate.sh
2015 Thomas Emmerling