Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added how to use Caddy Certificate for Postal #80

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

FlorinBuffet
Copy link

I had to find all of this information on different discussion threads until and saw that others also didn't find it. Therefor i added it to the official documentation.

sources:
https://github.com/orgs/postalserver/discussions/1572
https://github.com/orgs/postalserver/discussions/2673

FlorinBuffet and others added 2 commits February 23, 2025 14:18
use postal restart instead of more complex postal stop && postal start
fixed directory in manual certificate copy
```bash
#!/bin/bash

CERT_DIR="/opt/postal/caddy-data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/YOURDOMAIN/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this only work if you have caddy installed directly on the server or are you mapping a docker volume to get this out of the container?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes this is for a direct install on the server, if it is in a docker volume, you'd probably have to adjust the paths

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

having just re-familiarised myself with the docs https://docs.postalserver.io/getting-started/installation#caddy

looks like you have used the docker paths right?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As yes, of course, wherever possible i used the docker installation path and information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants