Closed saz closed 2 months ago
Ah, missed that it's possible to specify a regex. Thanks for the awesome check script!
Mmm actually it would be nice to be able to specify more than issuer (it would be OK if one matches). A regex not so user friendly. I'll take a look.
Just as an FYI: "Let's Encrypt|ZeroSSL"
works for me.
Being able to specify --issuer
multiple times seems nice, but I'd still suggest to document the possible usage of a regex (or I've missed that part in the docs)
To be honest it's not something I explicitly did. I was checking the issuer with
echo "${ISSUERS}" | "${GREP_BIN}" -E "^${ISSUER}\$"
Which gives a lot of flexibility.
I was already implementing the feature but your solution seems better:
|
is not allowed in a field of the issuerThe command line seems nicer. I would add it to the documentation and avoid the specification of more then one option.
At the moment you can specify as many --issuer
as you want and only the last one is consideredl
I improved the documentation and added integrity tests to avoid a command line option being specified more than once (but for the few options that specifically allow it).
Is your feature request related to a problem? Please describe.
It's currently only possible to check for one issuer. Caddyserver might use more than one ACME CA to retrieve certificates
Describe the solution you'd like
It should be possible to allow multiple issuers, e.g.
ZeroSSL
andLet's Encrypt
, as possible valid issuers of a certificateDescribe alternatives you've considered
Writing my own check
Additional context
None