The original certificate is not removed when you delete a web application. #344

Closed
opened 2026-04-05 20:27:04 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @peaklabs-dev on 9/10/2023

CloudPanel version(s) affected

all

Description

If we delete a web application/website in Cloud Panel that uses a custom SSL certificate, for example from Cloudflare, and then delete the web application, the origin certificate will remain in the folder: /etc/nginx/

How to reproduce

  1. Create a web application
  2. Upload a valid orign/ custom SSL certificate
  3. Delete the web application
  4. Go to the certificates folder in /etc/nginx/.
    -> The certificate is still there.

Possible Solution

Remove all SSL certificates related to that application when a web application is deleted.

Additional Context

No response

*Originally created by @peaklabs-dev on 9/10/2023* ### CloudPanel version(s) affected all ### Description If we delete a web application/website in Cloud Panel that uses a custom SSL certificate, for example from Cloudflare, and then delete the web application, the origin certificate will remain in the folder: /etc/nginx/ ### How to reproduce 1. Create a web application 2. Upload a valid orign/ custom SSL certificate 3. Delete the web application 4. Go to the certificates folder in /etc/nginx/. -> The certificate is still there. ### Possible Solution Remove all SSL certificates related to that application when a web application is deleted. ### Additional Context _No response_
Sign in to join this conversation.