If you’ve set up a Bitnami stack on AWS and purchased an SSL certificate from GoDaddy, this guide walks you through configuring it step by step. Bitnami packages come with pre-generated certificates, but replacing them with your own signed certificate ensures better security and trust for your domain.

Check Existing SSL Setup (Optional)

It’s good to know that Bitnami includes default SSL files when the stack is created. You can inspect them with the following commands:

Check the details of the existing certificate and key:

Step 1: Generate a CSR (Certificate Signing Request)

First, navigate to the Apache configuration directory:

Create a new private RSA key:

Next, generate a CSR using the private key:

You’ll be prompted to enter details like your country, state, domain, and email. These details must match your domain registration info. Example:

  • Country Name: US
  • State/Province: California
  • City: Los Angeles
  • Organization: Example Inc.
  • Common Name: yourdomain.com
  • Email Address: [email protected]

(Optional but handy) Extract the public key if needed:

Open your CSR and copy its contents to submit to GoDaddy:

Step 2: Download Your SSL Files from GoDaddy

Once GoDaddy approves your request, download the certificate bundle. You’ll typically receive:

  • Your main certificate (yourdomain.crt)
  • A certificate bundle or chain (gd_bundle-g2-g1.crt or .cabundle)

Step 3: Upload the Certificate Files to AWS

Use SCP (secure copy) to upload the certificate files from your computer to your Bitnami server:

Step 4: Extract Files if Needed

Step 5: Configure Apache to Use Your GoDaddy SSL

Edit the Bitnami Apache configuration file:

Look for the <VirtualHost _default_:80> block and add the following lines to redirect all HTTP traffic to HTTPS:

In the <VirtualHost _default_:443> block, update the certificate paths to use the ones you uploaded:

Make sure you update the filenames to match what you received from GoDaddy.

Step 6: Test Configuration and Restart Apache

Before restarting the server, run a config test to catch any syntax errors:

If everything checks out, restart the Apache server using the Bitnami control script:

You’re Done!

Your AWS Bitnami instance should now be serving your site over HTTPS using your GoDaddy SSL certificate. To confirm, open your domain in a browser and look for the secure padlock icon.

Bonus: Use WordPress SSL Plugins for Easy HTTPS Management

If you’re running WordPress on your Bitnami stack, managing redirects, mixed content issues, and force HTTPS can be made simpler with an SSL plugin. Here are some trusted options:

Really Simple SSL

Automatically detects your SSL certificate and configures your site to run over HTTPS. Great for beginners.
👉 Download from WordPress.org

WP Force SSL & HTTPS Redirect

Helps redirect all HTTP requests to HTTPS and fix insecure content warnings.
👉 Download from WordPress.org

These plugins are a huge help especially if you’re using custom themes or plugins that load non-secure resources.