How to Install Let's Encrypt SSL in Apache on Fedora 40

To install Let's Encrypt SSL in Apache on Fedora 40, follow these steps:

Step 1 : Ensure your domain has been DNS propagated to verify.

Step 2 : Update your system using the command:

Step 3 : Install Certbot and python3-certbot-apache:

Step 4 : Restart Apache:

Step 5 : Create a configuration file (example.devtutorial.io) and add configuration settings for your domain:

Add the following configuration settings for your domain:

Step 6 : Create the directory for your domain and add an index.html file:

Step 7 : Test the Apache configuration:

Step 8 : Restart Apache to apply the changes:

Step 9 : Obtain SSL certificate for your domain:

- Enter your email address:

- Agree to the terms of service: y

- Share your email address: y

- You should receive a success message upon successful issuance of the SSL certificate.

Step 10 : Test certificate renewal:

Step 11 : Visit your domain to verify the SSL installation.

Congratulations! You have successfully installed Let's Encrypt SSL certificate on your Apache server running on Fedora 40.