<commit_before># serverpilot-letsencrypt
Bash script to generate and install Let's Encrypt certificate for your websites on your free/paid ServerPilot account. Currently, the only easy way to add SSL to your ServerPilot-powered websites is by subscribing to the paid plan. 

## How to install
- ssh to your server, `sudo su` to act as root
- Copy `sple.sh` to your `/usr/local/bin` folder
- Run `sudo chmod +x /usr/local/bin/sple.sh` to make it executable

## How to use
- Run `sple.sh` anywhere from your console as root
- Follow the on-screen instructions

## Notes
- This script assumes that you did not change your default ServerPilot installation folder
- When entering your domain names, please list the primary root domain name first
- Copy and paste the `cronjob` code generated at the end of the process to schedule a monthly certificate renewal
- To force HTTPS on your website, please follow [instructions here](https://serverpilot.io/community/articles/how-to-force-SSL-by-redirecting-http-to-https.html)<commit_msg>Add renewal to crontab automatically<commit_after># serverpilot-letsencrypt
Bash script to generate and install Let's Encrypt certificate for your websites on your free/paid ServerPilot account. Currently, the only easy way to add SSL to your ServerPilot-powered websites is by subscribing to the paid plan. 

## How to install
- ssh to your server, `sudo su` to act as root
- Copy `sple.sh` to your `/usr/local/bin` folder
- Run `sudo chmod +x /usr/local/bin/sple.sh` to make it executable

## How to use
- Run `sple.sh` anywhere from your console as root
- Follow the on-screen instructions

## Notes
- This script assumes that you did not change your default ServerPilot installation folder
- When entering your domain names, please list the primary root domain name first
- This script adds cron job to schedule automatic renewal every two months at 1am
- To force HTTPS on your website, please follow [instructions here](https://serverpilot.io/community/articles/how-to-force-SSL-by-redirecting-http-to-https.html)
{'fraction_non_alphanumeric': 0.07034684904738642, 'fraction_numerical': 0.0004885197850512946, 'mean_word_length': 4.333333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '153652', 'n_tokens_mistral': 582, 'n_tokens_neox': 547, 'n_words': 272}