How to Bulk Generate Mail SSL Certificates Using cPFence ApiMachine?

cPFence offers a powerful, browser-based WebUI for managing your Enhance cluster. The WebUI is fully mobile-friendly, allowing you to manage your entire cluster from any device—including your phone or tablet. You can apply bulk actions such as generating mail SSL certificates for all mail subdomains (like mail.customerdomain.com) across an entire cluster, on a specific server, or just for selected sites—all from one place.

Generate Mail SSL Certificates in Bulk (WebUI Method)

 

 

 

  1. Open the cPFence WebUI on your Main Control Panel server.
  2. Use the Switch Server dropdown in the left menu to choose the server you want to manage, or leave it set to Local for the current server.
  3. Go to Tools & Utilities and select ApiMachine Bulk Tools.
  4. Click Set Enhance API Key and enter your Enhance API key if required.
  5. To generate mail SSLs only for certain domains, check the Run on specific domains only box and select the desired sites. Otherwise, leave it unchecked to apply to all domains.
  6. Click Bulk Generate Mail SSL to issue mail SSL certificates for your selected domains, server, or cluster.

This will automatically issue SSL certificates for all mail domains managed by Enhance and protected by cPFence that you select.

Command Line (CLI) Method

  1. SSH into your Main Control Panel server.
  2. To refresh the list of domains, run:
    cpfence --generate-cluster-sites-list
  3. Edit /var/log/cpfenceav/cluster-sites-list.txt to remove any domains you want to exclude from bulk generating mail SSL certificates.
  4. Run the following command to start the bulk generation process:
    cpfence --bulk-generate-mail-ssl-cluster
  5. Confirm when prompted. Mail SSL certificates will be generated for all mail subdomains listed, and you will see a status for each site.

Failed domains will be shown in the output along with the reason.


Need Further Assistance?

Visit our Knowledgebase or contact our support team for help.

  • 0 Пользователи нашли это полезным
Помог ли вам данный ответ?

Связанные статьи

How to Bulk Enable Force SSL Using cPFence ApiMachine?

cPFence offers a powerful, browser-based WebUI for managing your Enhance cluster. The WebUI is...

How to Bulk Enable Redis Caching Using cPFence ApiMachine?

cPFence offers a powerful, browser-based WebUI for managing your Enhance cluster. The WebUI is...

How to Bulk Generate SSL Certificates Using cPFence ApiMachine?

cPFence offers a powerful, browser-based WebUI for managing your Enhance cluster. The WebUI is...

How to Generate an API Token for cPFence, and Is It Required?

The cPFence API token must be generated in your Enhance Control Panel. Follow the steps below to...

How to Bulk Enable DNSSEC Using cPFence ApiMachine?

cPFence offers a powerful, browser-based WebUI for managing your Enhance cluster. The WebUI is...