How to Install Free SSL Certificate on Namecheap - Let's Encrypt
Table of Contents
Introduction
This tutorial will guide you through the process of installing a free SSL certificate on your Namecheap website using Let's Encrypt. The SSL certificate installation is crucial for securing your website and enhancing its credibility. With this guide, you'll learn how to use the acme script for installation and set up automatic renewals.
Step 1: Log in to cPanel
- Access your Namecheap account.
- Navigate to the cPanel dashboard.
- Ensure you have the necessary permissions to install SSL certificates.
Step 2: Check Prerequisites for Installing SSL Certificate
- Make sure your domain is pointed to Namecheap's servers.
- Confirm that you have SSH access enabled. If you need help, refer to this video on enabling SSH access.
Step 3: Access the SSH Terminal
- Open your terminal or SSH client.
- Connect to your server using the SSH credentials provided by Namecheap.
Step 4: Install the acme Script
- Run the following command to install the acme script:
curl https://get.acme.sh | sh - This script will help you generate and manage your SSL certificates.
Step 5: Generate SSL Certificate for Your Website
- Use the following command to issue an SSL certificate for your domain:
.acme.sh/acme.sh --issue -d example.com -w /home/wwwroot/websitefolder - Replace
example.comwith your actual domain name and/home/wwwroot/websitefolderwith the correct path to your website files.
Step 6: Install the SSL Certificate
- After generating the SSL certificate, install it using the appropriate command, which should be available in the documentation from the acme script output.
Step 7: Set Up a CRON Job for Automatic Renewal
- To ensure your SSL certificate renews automatically, set up a CRON job. You can do this by adding a line to your crontab:
crontab -e - Add the following line to check for renewals daily:
0 0 * * * "/path/to/.acme.sh/acme.sh" --cron --home "/path/to/.acme.sh" > /dev/null - Replace
/path/towith the actual path where acme.sh is located.
Step 8: Verify SSL Certificate Installation
- Use an online SSL checker tool to verify the installation. You can follow this link: SSL Checker Tool.
Conclusion
You've now successfully installed a free SSL certificate on your Namecheap website using Let's Encrypt. Remember to regularly check the SSL certificate's status and ensure that the CRON job is functioning correctly for automatic renewals. Securing your website not only protects your data but also builds trust with your visitors. For further support, consider exploring additional resources or related tutorials on managing SSL certificates.