[BUG] Certificate Renewal Process will delete wildcard certificates
Closed this issue · 0 comments
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Create a wildcard certificate
- Move that certificate and key to /etc/dsiprouter/certs
- Trigger dsiprouter renewsslcert or wait until cron triggers it at midnight
- Reboot the server or restart dSIPRouter UI or Kamailio
Expected behavior
The certificate should not be removed because LetsEncrypt can't automatically generate wildcard certs. It should recognize it as a wildcard cert and just ignore it and state that it's a Wildcard certificate and it won't try to renew it. It's up to the user to renew wildcard certs.
Screenshots
If applicable, add screenshots to help explain your problem.
Add any applicable logs as well; such as an dsiprouter.log
, or kamailio.log
, etc...
Server Info:
- OS: Linux sbc3.customers.dsiprouter.net 5.10.0-21-amd64 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux
- Distro:
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
- dSIPRouter Version: 0.72