Skip to content

Commit

Permalink
Remove restorecon on certbot certonly
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyTran732 authored Jul 4, 2024
1 parent 07f2cb7 commit b6e13fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
4 changes: 1 addition & 3 deletions certbot/default-quic
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@ certbot certonly --webroot --webroot-path /srv/nginx --no-eff-email \
--key-type ecdsa --must-staple \
--deploy-hook "certbot-ocsp-fetcher -o /var/cache/certbot-ocsp-fetcher" \
--cert-name hostname.of.your.server \
-d hostname.of.your.server

restorecon -Rv /var/cache/certbot-ocsp-fetcher
-d hostname.of.your.server
4 changes: 1 addition & 3 deletions certbot/miniflux
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@ certbot certonly --webroot --webroot-path /srv/nginx --no-eff-email \
--key-type ecdsa --must-staple \
--deploy-hook "certbot-ocsp-fetcher -o /var/cache/certbot-ocsp-fetcher" \
--cert-name miniflux.yourdomain.tld \
-d miniflux.yourdomain.tld

restorecon -Rv /var/cache/certbot-ocsp-fetcher
-d miniflux.yourdomain.tld
4 changes: 1 addition & 3 deletions certbot/uptime-kuma
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@ certbot certonly --webroot --webroot-path /srv/nginx --no-eff-email \
--key-type ecdsa --must-staple \
--deploy-hook "certbot-ocsp-fetcher -o /var/cache/certbot-ocsp-fetcher" \
--cert-name uptime.yourdomain.tld \
-d uptime.yourdomain.tld

restorecon -Rv /var/cache/certbot-ocsp-fetcher
-d uptime.yourdomain.tld

0 comments on commit b6e13fa

Please sign in to comment.