https://github.com/boggyjan/linode-object-storage-cert-updater
https://github.com/boggyjan/linode-object-storage-cert-updater
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/boggyjan/linode-object-storage-cert-updater
- Owner: boggyjan
- Created: 2023-09-14T09:28:53.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-05-29T07:07:26.000Z (about 1 year ago)
- Last Synced: 2025-02-01T07:42:34.489Z (5 months ago)
- Language: JavaScript
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Installtion
- git clone [email protected]:boggyjan/linode-object-storage-cert-updater.git
- npm i
- After you finished your first time ssl setup by certbot "manual" method. You have to update the auto-renewal config at /etc/letsencrypt/renewal/xxx.conf. Add 3 lines below after [renewalparams] block:
```
manual_auth_hook = /var/www/linode-object-storage-cert-updater/challenge_upload.sh
manual_cleanup_hook = /var/www/linode-object-storage-cert-updater/challenge_remove.sh
post_hook = /var/www/linode-object-storage-cert-updater/upload_certs.sh type.your.domain.here
```
- If you are using a different path of the cert-updater, please replace the path to the path that you are using. (also in challenge_remove.sh and challenge_upload.sh)
- example:
```
[renewalparams]
account = xxxxx
authenticator = manual
server = https://acme-v02.api.letsencrypt.org/directory
manual_auth_hook = /path/to/cert-updater/challenge_upload.sh
manual_cleanup_hook = /path/to/cert-updater/challenge_remove.sh
post_hook = /path/to/cert-updater/upload_certs.sh type.your.domain.here
```
- example of *.sh path changing
```
node /path/to/cert-updater/challenge_upload.js $CERTBOT_DOMAIN $CERTBOT_VALIDATION
```