How to create a wildcard SSL certificate when using Cloudflare?

How to create a wildcard SSL certificate when using Cloudflare?

Note: This only applies if/when using Cloudflare's nameservers with DirectAdmin. If you are using our default nameservers for your domain, this issue should not occur.

When you create a wildcard SSL certificate in your control panel, Let's Encrypt creates a TXT record in the local DNS zone for Let's Encrypt to remotely verify. Since your DNS is with Cloudflare and is not on the local server, the TXT record does not get created in Cloudlfare and the verification fails and therefore Let's Encrypt does not issue the SSL certificate.

When using Cloudflare's nameservers, you will need to do an additional step in order to create SSL certificates in DirectAdmin:

1. After clicking "Wildcard", you will see the field "DNS Provider".

2. By default Let's Encrypt uses the local DNS server "Local". You need to find and choose "Cloudflare".

3. Then you can enter your Cloudflare API key and the server will automatically create the necessary TXT record in Cloudflare's DNS for you and will continue to do so automatically each time your SSL certificate renews.

If you have any further questions, please do not hesitate to open a support ticket with us!

    • Related Articles

    • How do I access phpMyAdmin while using DirectAdmin?

      Since we use SSO with DirectAdmin, phpMyAdmin can be accessed as follows: 1. Login to your DirectAdmin account. 2. Go to Account Manager --> Databases 3. Find the database you want to manage in phpMyAdmin and click Manage 4. Click the PHPMYADMIN ...
    • How to create a file using File Manager in cPanel?

      The article describes the steps that you need to perform to create a file using the File Manager when using cPanel control panel. In cPanel, find the Files section and select "File Manager" Choose the "Web Root" directory. Check the "Show Hidden ...
    • How to create an email account in cPanel?

      The article describes the steps to be performed to create an email account in cPanel. Step 1: Log in to cPanel Step 2: Select the Email Accounts option in the Email section. Step 3: You will then see the Email Accounts page. If any accounts already ...
    • How to connect your Cloudflare domain with cPanel?

      This article describes the steps to connect a domain hosted/bought with Cloudflare to your cPanel account. Step 1 : Login to your cPanel account from the customer portal. Step 2 : Scroll down to see the domain section in which you need to select the ...
    • How can I access my website with DirectAdmin since userdir is no longer available?

      Normally, connecting to your website hosted with DirectAdmin was as easy as accessing the temp URL http://[serveripaddress]/~[username]/ but since DirectAdmin chose to remove userdir_access, that is no longer possible. Workarounds include using a ...