Skip to content

Commit

Permalink
add: renew.sh - for ssl certificate
Browse files Browse the repository at this point in the history
  • Loading branch information
wkddntjr1123 authored Feb 23, 2023
1 parent 34f10d3 commit a1b161d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions infra/renew.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

docker run -it --rm --name certbot \
-v '/etc/letsencrypt:/etc/letsencrypt' \
-v '/var/lib/letsencrypt:/var/lib/letsencrypt' \
certbot/certbot renew --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory

0 comments on commit a1b161d

Please sign in to comment.