gregtwallace / certwarden

Cert Warden is a centralized ACME Client. It provides an API for certificate consumers to fetch their individual keys and certs with API keys.
https://www.certwarden.com/
Other
176 stars 6 forks source link

Error when modifying Providers #53

Closed onyxhat closed 2 weeks ago

onyxhat commented 1 month ago

I'm running v0.21.3 in docker behind Traefik via a subdomain within my LAN (e.g. certs.mydomain.local). I've been able to generate a private key and ACME account to LetsEncrypt successfully, but when trying to add a provider for acme.sh or remove the default provider I'm receiving the following error.

An API error has occurred.
Status Code: 400
Message: error: request validation (param or payload) invalid

I've left the config file default and tried adding cors_permitted_crossorigins matching my internal DNS and/or port redirection, but get the same error.

gregtwallace commented 1 month ago

What does the log say when you try to add? If nothing, interesting set debug log level.

You won’t be able to delete the existing provider if it’s the only one.

user00265 commented 2 weeks ago

I got this error when trying to use an asterisk for the domain but while using the dns-01 Cloudflare provider.

Using actual domain names the error did not happen.

gregtwallace commented 2 weeks ago

You can only have one wildcard provider. Otherwise the app wouldn't know which one to use.