Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
HaiSoft (public)
R1Soft - Lets Encrypt Integration
Commits
8aa13f37
Unverified
Commit
8aa13f37
authored
May 16, 2018
by
MegaS0ra
Committed by
GitHub
May 16, 2018
Browse files
Update README.md
parent
f5b1a5e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
8aa13f37
# LetsEncryptForR1Soft
Script that automatically setups a Let's Encrypt certificate for R1Soft, and handles renewal.
You can add a cron every 10 days to renew your certificates :
Here is what the script does :
-
Installs git (if not already installed)
-
Updates the following packages : nss nss-util nss-sysinit nss-tools wget curl ca-certificates openssl
-
Clones Let's Encrypt git repository (if not already cloned)
-
Stops iptables
-
Launches Let's Encrypt certificate creation/renewal
-
Starts iptables
-
Exits now if the certificate if not yet due to renewal
-
Imports the certificate into R1Soft keystore
```
* * */10 * * /root/SSLR1Soft.sh your@e.mail```
Just wget the script, change execution rights and launch it (followed by email address as argument) :
```
bash
wget
-N
https://raw.githubusercontent.com/MegaS0ra/LetsEncryptForR1Soft/master/SSLR1Soft.sh
;
chmod
+x SSLR1Soft.sh
```
```
bash
./SSLR1Soft.sh your@e.mail
```
You can add a cron every 10 days to renew your certificates :
```
bash
*
*
*
/10
*
*
/root/SSLR1Soft.sh your@e.mail
```
(Let's Encrypt will only renew the cert if close to expiry).
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment