Skip to content

Using per-domain SSL certificates #1126

Answered by andreymal
neosonic2 asked this question in Q&A
Discussion options

You must be logged in to vote

Just duplicate it as many times as needed, remembering to change the certificate id/name

[certificate.default]
cert = "%{file:/etc/letsencrypt/live/example.org/fullchain.pem}%"
private-key = "%{file:/etc/letsencrypt/live/example.org/privkey.pem}%"
default = true

[certificate.example.net]
cert = "%{file:/etc/letsencrypt/live/example.net/fullchain.pem}%"
private-key = "%{file:/etc/letsencrypt/live/example.net/privkey.pem}%"
default = false

Since certificates are settings, /api/settings is used to manage them

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@andreymal
Comment options

Answer selected by neosonic2
@neosonic2
Comment options

@andreymal
Comment options

@neosonic2
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants