Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

462
Views
SSL: Certbot + AWS Lightsail + LetsEncrypt + Really Simple SSL Plugin

Scenario: Current server @ example.com is running an older version of amazon AWS Lightsail with wordpress (ubuntu) and we just had a new certificate issued using letsencrypt. All is well. Original cert was requested with wildcard, so functional for any subdomain.

Now, we needed to spin up a fresh new server for a subdomain, let's call it development.example.com.

The new AWS lightsail instances now are no longer Ubuntu but Debian!

The idea was to install certbot in the new Debian instance and then copy over the certificate files from the primary server @ example.com.

I've done this successfully in the past when it was going from Ubuntu to Ubuntu but now that the new instance is Debian, the Really Simple SSL plugin does not recognize that a certificate is installed.

STEPS I took to move the certificate files: What I've done before is simply to copy /etc/letsencrypt/* from one server to another and then follow the steps outlined in the AWS documentation here: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-using-lets-encrypt-certificates-with-wordpress#complete-the-prerequisites-lets-encrypt-wordpress

In this case, performing the steps 7.4, 7.5, 7.6 and section 8.

However, steps described in section 8.1 do not appear valid in this document anymore for Debian, because there is no such location on Debian: sudo chmod 666 /opt/bitnami/apps/wordpress/htdocs/wp-config.php

AND because it seems an .htaccess does not exist either. sudo chmod 666 /opt/bitnami/apps/wordpress/conf/htaccess.conf

Are there additional steps now which I've missed to be able to copy the necessary files for SSL to work properly on this new subdomain server now running Debian?

I was going to go through a new certificate request in the development server but wouldn't that invalidate the certificate currently installed for the primary domain?

In other words, how to properly copy the SSL files from the main Ubuntu server and configure the Debian subdomain server so that both wordpress installations have SSL correctly installed?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Thank you @mikemoy indeed, one can issue multiple wildcard certificates from different servers in a subdomain. Just went ahead and issued a new certificate.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!