Skip to content

Instantly share code, notes, and snippets.

@port19x
Last active October 10, 2023 12:19
Show Gist options
  • Save port19x/f2e2c6a0b51e6b7fd960bbc33905763d to your computer and use it in GitHub Desktop.
Save port19x/f2e2c6a0b51e6b7fd960bbc33905763d to your computer and use it in GitHub Desktop.

Revisions

  1. port19x revised this gist Oct 10, 2023. No changes.
  2. port19x revised this gist Oct 10, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion x.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    ```
    sudo pacman -S certbot-dns-digitalocean
    sudo certbot certonly --dns-digitalocean --dns-digitalocean-credentials ./.acess -d '*.hsnipe.moe' -d 'hsnipe.moe'
    sudo certbot certonly --dns-digitalocean --dns-digitalocean-credentials ./.access -d '*.hsnipe.moe' -d 'hsnipe.moe'
    sudo cat /etc/letsencrypt/live/hsnipe.moe/privkey.pem /etc/letsencrypt/live/hsnipe.moe/cert.pem > haproxy.pem
    scp haproxy.pem [email protected]:/mnt/
    ```
  3. port19x revised this gist Aug 22, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion x.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    ```
    sudo pacman -S certbot-dns-digitalocean
    sudo certbot certonly --dns-digitalocean --dns-digitalocean-credentials ./.acess -d '*.hsnipe.moe'
    sudo certbot certonly --dns-digitalocean --dns-digitalocean-credentials ./.acess -d '*.hsnipe.moe' -d 'hsnipe.moe'
    sudo cat /etc/letsencrypt/live/hsnipe.moe/privkey.pem /etc/letsencrypt/live/hsnipe.moe/cert.pem > haproxy.pem
    scp haproxy.pem [email protected]:/mnt/
    ```
  4. port19x created this gist Aug 22, 2023.
    10 changes: 10 additions & 0 deletions x.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    `./.access` should have 400 permissions and should contain `dns_digitalocean_token = <redacted>`

    ```
    sudo pacman -S certbot-dns-digitalocean
    sudo certbot certonly --dns-digitalocean --dns-digitalocean-credentials ./.acess -d '*.hsnipe.moe'
    sudo cat /etc/letsencrypt/live/hsnipe.moe/privkey.pem /etc/letsencrypt/live/hsnipe.moe/cert.pem > haproxy.pem
    scp haproxy.pem [email protected]:/mnt/
    ```

    Rest of configuration is done on server side / infra code