Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

459
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda