diff options
author | Farhan Khan <farhan@farhan.codes> | 2020-08-13 22:18:33 -0400 |
---|---|---|
committer | Farhan Khan <farhan@farhan.codes> | 2020-08-13 22:18:33 -0400 |
commit | b0c456d18d3b4e20233a7dbaef3c55d0586a1946 (patch) | |
tree | 63c5f4dd8c64e95d8bc1daedf296d2d64295c5d8 | |
parent | f2665547f59a7043cf8bac9d39c56a9b717d5099 (diff) | |
download | pleroma-b0c456d18d3b4e20233a7dbaef3c55d0586a1946.tar.gz pleroma-b0c456d18d3b4e20233a7dbaef3c55d0586a1946.zip |
more acme.sh updates
-rw-r--r-- | docs/installation/freebsd_en.md | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/installation/freebsd_en.md b/docs/installation/freebsd_en.md index 386a0ae10..458b8032d 100644 --- a/docs/installation/freebsd_en.md +++ b/docs/installation/freebsd_en.md @@ -122,22 +122,22 @@ with your domain name): # mkdir -p /etc/ssl/example.com # sudo -Hu acme -g acme acme.sh --issue -d example.com --stateless # acme.sh --home /var/db/acme/.acme.sh/ --install-cert -d example.com \ - --key-file /etc/ssl/example.com/key.pem + --ca-file /etc/ssl/example.com/ca.pem \ + --key-file /etc/ssl/example.com/key.pem \ + --cert-file /etc/ssl/example.com/cert.pem \ --fullchain-file /etc/ssl/example.com/fullchain.pem ``` -Let's add auto-renewal to `/etc/daily.local` +Let's add auto-renewal to `/etc/crontab` (replace `example.com` with your domain): ``` -/usr/local/bin/sudo -Hu acme -g acme \ - /usr/local/sbin/acme.sh -r \ - -d example.com \ - --cert-file /etc/nginx/tls/cert \ - --key-file /etc/nginx/tls/key \ - --ca-file /etc/nginx/tls/ca \ - --fullchain-file /etc/nginx/tls/fullchain \ - --stateless +/usr/local/bin/sudo -Hu acme -g acme /usr/local/sbin/acme.sh -r -d example.com --stateless +/usr/local/sbin/acme.sh --home /var/db/acme/.acme.sh/ --install-cert -d example.com \ + --ca-file /etc/ssl/example.com/ca.pem \ + --key-file /etc/ssl/example.com/key.pem \ + --cert-file /etc/ssl/test-app.mailchar.com/cert.pem \ + --fullchain-file /etc/ssl/example.com/fullchain.pem ``` ### Configuring nginx |