You can easily install SSL certificates on your hosting without exposing the server IP when you are using Cloudflare for your domains.
Note:
Please refer to the separate guide if you do not use Cloudflare or have disabled Cloudflare Proxy for your domains.
How to install SSL certificates?
Using AutoSSL
Step 01:
- Go to Cloudflare > SSL/TLS > Edge Certificates.
- Check if "Always Use HTTPS" and "Automatic HTTPS Rewrites" are enabled.
- Disable "Always Use HTTPS".
- Disable "Automatic HTTPS Rewrites".
- Wait 5 minutes for the changes to propagate.
Step 02:
- Go to cPanel > SSL/TLS Status.
- Click on "Run AutoSSL".
- Wait for the process to finish.
- Go to cPanel > Domains.
- Enable "Force HTTPS Redirect".
Step 03:
- If you disabled "Always Use HTTPS" in Step 01, re-enable the option.
- If you disabled "Force HTTPS Redirect" in Step 01, re-enable the option.
Using Let's Encrypt Plugin
You do not need to use the Let's Encrypt Plugin if you have installed SSL from above. You only need to use one tool.
- Go to cPanel > Let's Encrypt SSL.
- Click on "Issue".
- Select the domains and/or subdomains.
- Click on "Issue".
- Wait for the process to finish.
- Done.
SSL should now have been installed on your domains. No other steps are necessary.