An open API service indexing awesome lists of open source software.

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

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
```