Personal tools


Servertastic SSL For WHMCS

From ModulesGarden Wiki
Jump to: navigation, search


About Servertastic SSL For WHMCS

Servertastic SSL For WHMCS will allow you to offer SSL certificates to your clients. They will be able to define and order a certificate directly in the client area.
Moreover, the module will give you the access to SSL configuration details as well as enable you to terminate certificates and renew them after their expiration date.

In addition you will be able to sell tokens from your Servertastic reseller account that can be later on used to obtain certificates.
After receiving the tokens, your clients will be able to configure their certificates in either the Servertastic panel or Servertastic SSL For cPanel module.
The module is brought to you by Servertastic Limited in cooperation with ModulesGarden.

  • Admin Area Features:
✔ Create Certificate
✔ Terminate Certificate
✔ Resend Configuration Email
✔ Renew Certificate
✔ Change Approver Email
✔ View Servertastic Token
✔ View Certificate Status
✔ Choose Certificate Type
✔ Toggle Synchronization Of Expiration Date
  • Client Area Features:
✔ Configure Certificate
✔ View Basic Certificate Details
✔ Modify Approver Email
✔ Download Generated Certificate
  • Configurable Options:
✔ Additional SAN Domain
✔ Server Count
✔ Certificate Validity
✔ Certificate Type
  • Tokens Integration:
✔ Create And Sell Certificate Tokens From Reseller Account
✔ Choose Certificate Type
✔ Define SAN Values
✔ Define Server Count
✔ Define Management Page Link For Token Order Location
✔ Toggle Management Page Link Visibility In Client Area
✔ Send Generated Token Via Email
✔ Send Email Reminders Automatically Before Expiration Date
  • General Info:
✔ Use Tokens With Servertastic Panel
✔ Use Tokens With Servertastic SSL For cPanel Module
✔ Renewal Support - Automatically Creates New Certificate For Recurring Products After Expiration Date
✔ Multi-Language Support
✔ Supports PHP 7.2 Up To PHP 7.4
✔ Supports WHMCS Themes "Six" And "Twenty-One"
✔ Supports WHMCS V7.10 And Later

Installation and Configuration

This tutorial will show you how to successfully install and configure Servertastic SSL For WHMCS.

We will guide you step by step through the whole installation and configuration process.


1. Log in to our client area and download Servertastic SSL For WHMCS.
ST 1.png
2. Upload and extract the module into the main WHMCS directory.

Files in your WHMCS directory should look like this.


Configuration of Product

3. In order to create and configure a product, go to 'Setup' 'Products/Services' 'Products/Services' .

Click on 'Create a New Group' .

ST 5.png
4. Enter product group name and press 'Save Changes' .
ST 6.png
5. When you have a product group, you can create your product.

To create a product click on 'Create a New Product' .

ST 7.png
6. Afterwards, choose your product group and type from dropdown menus, fill in your product name and press 'Continue' .
ST 8.png
7 Now, go to 'Module Settings' section, choose 'Servertastic SSL' from a dropdown menu.

Do not forget to generate 'Custom Fields' . Next, click on 'Save Changes' .

ST 9.png
8. Finish by filling in 'API Key' and selecting desired certificate type.

To obtain 'API Key' log in to your 'Reseller Panel' and click 'View your API Key' :

ST 10 1.png
Additionally, mark 'Update Next Due Date' if you wish to renew the certificate after reaching its expiration date (recurring products only).

Confirm through pressing 'Save Changes' .
Note: You can mark 'Test Mode' to connect with the test API.

ST 10.png
Congratulations! Your module is ready for use.


Servertastic SSL For WHMCS allows you to offer fully configurable Servertastic certificates to your clients.

Additionally, you have the ability to view certificate details and manage each provisioned certificate.

Admin Area

In the admin area you can view the details of a product and find SSL configuration status.

Additionally, you can create/terminate products, resend configuration emails and even change approver emails.

ST 11.png
In order to change approver emails (if possible), fill in a new email and press 'Save Changes' as shown on the screen below.
ST 12.png

Client Area

Servertastic SSL For WHMCS allows your customers to order and configure SSL certificates.

It also enables to choose from configurable options while ordering.

ST 13.png


A new SSL certificate needs to be configured before it can be used.

Press 'Configure Now' to proceed, you will be forwarded to an external page.
Proceed with configuration of your SSL certificate there.

ST 14.png
After configuring the certificate order, the client will also have to verify the ownership of the domain for which the certificate will be issued.
If the email method is chosen, the client will still be able to update provided approver address.
ST 14 2.png
Once the verification process is complete, the certificate will be generated and ready to be downloaded.
ST 15.png


On the following screen you can see a successfully configured product.

Here you can find provision and expiration dates, and its status.

ST 16.png
Additionally, you can download the certificate.
ST 17.png

Configurable Options

The module enables you to set up configurable options allowing clients to define the products they order.

Below you can find the list of configurable options with descriptions of how they will affect an order:

  • Certificate Type - allows clients to choose from types provided in configuration, a chosen type will overwrite configuration in 'Module Settings' .
  • Years - clients can choose the amount of years when certificate is valid. Make sure you will not exceed the maximum number of years for a particular certificate.
    Maximum number of years for a particular certificate type can be found after a brand name followed by | on the 'Certificate Type' in 'Module Settings' tab.
  • Servers Count - (required for Thawte and most of VeriSign certificates) if applicable, its range stretches from 1 to 500.
  • SAN Count - (SAN certificates only) clients can define the maximum number of domains supported by a certificate.
1. Let's create configurable options group containing each one of presented configurable options.

Start by proceeding to 'Setup' 'Products/Services' 'Configurable Options' and pressing 'Create a new Group' .

ST 18.png
2. Afterwards, fill out the form with a group name and a description, select products you wish to apply to this group by holding Ctrl and clicking on each of the products.

Afterwards, press 'Save Changes' .

ST 19.png
3. Press 'Add New Configurable Options' .
ST 20.png
4a. (Years, Servers Count, SAN Count) Now, fill in option name, select 'Quantity' option type and fill in minimum and maximum allowed quantity.

Afterwards, set up price per one unit and press 'Save Changes' .

ST 21.png
4b. (Certificate Type, Years, Servers Count, SAN Count) Fill in the option name and select 'Dropdown' from the option type.
ST 22.png
5. Now, you have to add each option separately.

Do it by filling in its name, setting up its price and pressing 'Save Changes' for each of the options.
Note: As you may notice on the following screen, the name is divided by 'I' sign.
The first part concerns a system name of an option (or value) while the second part is a name under which option will be visible for a client.'

ST 23.png
6. Now, let's order a product using previously created configurable options.

As you can notice, configurable options allow you to use fewer products while offering a full customization of the product at the same time.

ST 24.png

Tokens Configuration

Your WHMCS will now bill customers for the ordered certificates and generate tokens, which can be then used by customers to add their certificates in through Servertastic panel or through cPanel integration.

After saving the settings in the 'Certificate Type' dropdown, available certificates will appear.
Note: If you are using a test API key, first make sure that the 'Test Mode' option is enabled.

Then set the remaining options corresponding to the selected certificate:

  • SAN Values - enter how many domain names can be protected with a single certificate.
  • Server Count - enter how many different servers can indicate the domains protected by a given certificate.
  • Management Page Link - specify the address at which the customer will be able to see the generated certificate directly in the 'Servertastic' panel.
  • Show Order Management Page link - select whether you want your customers to see a direct link to the certificate in the 'Servertastic' panel.

Note: Make sure that SAN and Server vaules are supported by the selected type of certificate. You can find more relevant information on here.

Finally, save the changes and do not forget to generate 'Custom Field' and 'Email Template' .

ST 26.png
After placing an order for a configured product, the customer will have access to the generated 'certificate token' , its 'status' and a direct link to finish the order at the 'Servertastic' panel (if that option has been enabled).
ST 27.png
Optionally your client can copy the token and complete the certificate configuration directly in the cPanel.

These steps are described on the Servertastic SSL For cPanel wiki.


1. When you press the 'Renew' button in the admin area ('Client Profile → Products/Services') , a new order for the selected domain will be created.

The admin can place it as the 'Renewal' order type but only 90 days before the expiration date.

2. When the certificate expires, a reminder will be sent to the customer to renew it.

This will be done with the use of the main WHMCS cron and the 'Certificate Expiration Reminder' template.

Common Problems

1. When you have problems with connection, check whether your SELinux or firewall does not block ports.
WHMCS Modules
WHMCS Translations
cPanel Modules
Magento Extensions
Magento Themes
PrestaShop Modules
Blesta Extensions
Servertastic SSL For WHMCS