Parameter --ca priority? #626

Closed
opened 2025-12-29 01:27:59 +01:00 by adam · 1 comment
Owner

Originally created by @MichiFr on GitHub (Sep 5, 2024).

Just a question, no issue:

Will the parameter --ca letsencrypt-test override the appropriate config option?
Will any command line parameter override its appropriate config option?

OT: I've read somewhere when using the staging server I've to register with this server and when switching back to re-register again, is this correct?

Thanks!

Originally created by @MichiFr on GitHub (Sep 5, 2024). Just a question, no issue: Will the parameter `--ca letsencrypt-test ` override the appropriate config option? Will any command line parameter override its appropriate config option? OT: I've read somewhere when using the staging server I've to register with this server and when switching back to re-register again, is this correct? Thanks!
adam closed this issue 2025-12-29 01:27:59 +01:00
Author
Owner

@lukas2511 commented on GitHub (Apr 15, 2025):

Hi there, sorry for the late response, not clear if it's still relevant but answering it anyway:

Priority is as follows (lowest to highest): Main config, command line arguments, certificate specific config.

Since CA can't be overriden by certificate specific config you'd only need to know that specifying a command line arguments allows you to temporarily override the CA to be used, e.g. to use staging for some tests.

Dehydrated can handle multiple CAs, but you'll need to register with each CA you are using. When switching back to a previously used CA you don't need to re-register.

@lukas2511 commented on GitHub (Apr 15, 2025): Hi there, sorry for the late response, not clear if it's still relevant but answering it anyway: Priority is as follows (lowest to highest): Main config, command line arguments, certificate specific config. Since CA can't be overriden by certificate specific config you'd only need to know that specifying a command line arguments allows you to temporarily override the CA to be used, e.g. to use staging for some tests. Dehydrated can handle multiple CAs, but you'll need to register with each CA you are using. When switching back to a previously used CA you don't need to re-register.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dehydrated#626