top of page

Apache Server with SSL Packaged by IOanyT Innovations - Rhel8

Updated: Nov 2, 2022


Apache Server is an open-source cross platform web server released under terms of Apache License2.0. It is one of the oldest and most reliable web server software maintained by the Apache Software Foundation, with the first version released in 1995.


  1. Open-source and free, even for commercial use.

  2. Reliable, stable software.

  3. Frequently updated security patches.

  4. Flexible due to its module-based structure.

  5. Easy to configure, beginner-friendly.

  6. Cross-platform (works on both Unix and Windows servers).

  7. Optimal deliverability for static files and compatibility with any programming language (PHP, Python, etc)

  8. Huge community and easily available support in case of any problem


  1. One-click launch

  2. Easy configurable AMI with pre-installed Apache Server with SSL


Kindly click on the below link to install the server via AWS Marketplace:



To verify the installation, follow the below instructions

  1. Open browser

  2. In the address bar of the browser, type http://<your-ip-address>

  3. You will see the Apache2 default page (see screenshot below)

Step 1. Connect to SSH:

  1. Open the Amazon EC2 console at

  2. In the navigation pane, choose Instances.

  3. Select the instance and choose Connect.

  4. Choose SSH Client

  5. Copy the SSH command and paste it into the terminal.

ssh ec2-user@publicIP -i [Path of key pair file]

If it shows an access denied message run the following command, then run the above command again to connect via ssh.

chmod 400 [Path of key pair file]

Once launched in the Amazon EC2 Service, please connect to the instance via an SSH client using the ec2-user with the key pair associated at launch. Once connected as the ec2-user user, you will be able to sudo to the root user by issuing the below command.

Data Store Region Name Location: US East (N. Virginia)

To monitor and assess application functions:-

a. Navigate to your Amazon EC2 console and verify that you're in the correct region.

b. Choose Instances and select your launched instance.

c. Select the server to display your metadata page and choose the Status checks tab at the bottom of the page to review if your status checks passed or failed.

Step 2. Activate SSL Encryption

Follow the steps to activate SSL Encryption on the system

1. Go to path /etc/httpd/conf/httpd.conf

2. Locate the "Listen 80" directive

3. Edit the below lines and replace "example" with your Domain name

<VirtualHost *:80>
    DocumentRoot "/var/www/html"
    ServerName ""
    ServerAlias ""

4. Now run the command to restart the HTTPD service

sudo systemctl restart httpd

5. Now run Certbot with below command

sudo certbot 

6. At the prompt Enter email address (used for urgent renewal and security notices),

and press Enter.

7. Agree to the Let's Encrypt Terms of Service at the prompt. Enter "A"

 Please read the Terms of Service at You must agree in order to register with the ACME server at
--------------------------------------------------------------------------(A)gree/(C)ancel: A

8. Certbot displays the Common Name and Subject Alternative Name (SAN) that you provided in the VirtualHost block.

     Which names would you like to activate HTTPS for? 
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -    
      Select the appropriate numbers separated by commas and/or spaces, or 
      leave input blank to select all options shown (Enter 'c' to cancel):

9.Certbot displays the following output as it creates certificates and configures Apache. It then prompts you about redirecting HTTP queries to HTTPS.

 Obtaining a new certificate Performing the following challenges: 
 http-01 challenge for 
 http-01 challenge for 
 Waiting for verification...
 1: No redirect - Make no further changes to the webserver configuration. 
 2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for new sites, or if you're confident your site works on HTTPS. You can undo this change by editing your web server's configuration.          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Select the appropriate number [1-2] then [enter] (press 'c' to cancel):

10. Certbot completes the configuration of Apache and reports success and other information

 Congratulations! You have successfully enabled and

For information about how to use the application, please visit:

For detailed information about managing and requesting increased service please visit:



Let’s Work Together

IOanyT Innovations Pvt. Ltd.


  • LinkedIn
  • Facebook

Thanks for submitting!

bottom of page