SSL certificate install gone wrong

0

Hello, I was following this guide for installing SSL certificate https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-using-lets-encrypt-certificates-with-wordpress

Everything seemed to be going well until step 7, I tried to restart the bitnami services using the command instructed and I got the following message "Job for bitnami.service failed because the control process exited with error code. See "systemctl status bitnami.service" and "journalctl -xe" for details."

I'm not technical and I have no idea what this means. My site cannot be reached now, I tried to reboot my lightsail instance but that didn't do anything. At this point, I just want my site back and I'll just pay for a plugin that does the install for me!

Any help in getting my site back would be much appreacated.

Dan
gefragt vor 2 Jahren1790 Aufrufe
3 Antworten
0

There is a bug in this article. In Step 7.5 for both Approach A and B, the text says DOMAIN

sudo ln -sf /opt/bitnami/letsencrypt/certificates/DOMAIN.key /opt/bitnami/apache2/conf/bitnami/certs/server.key

It should be $DOMAIN

sudo ln -sf /opt/bitnami/letsencrypt/certificates/$DOMAIN.key /opt/bitnami/apache2/conf/bitnami/certs/server.key

So wherever you see DOMAIN.key and DOMAIN.cert , change to $DOMAIN.key and $DOMAIN.cert . Do it for all the commands under Approach A and Approach B (but following only the section relevant for you).

Once done, run

sudo /opt/bitnami/ctlscript.sh start

Alexa
beantwortet vor 2 Jahren
  • Thanks! So what step should I restart the tutorial from? Step 2?

0

Hi, Also struggling with this. I have followed the advice above and restarted the process from step 3 but still, the following shows:

bitnami@ip-172-26-12-111:~$ sudo mv /opt/bitnami/apache2/conf/bitnami/certs/server.crt /opt/bitnami/ap
ache2/conf/bitnami/certs/server.crt.old
bitnami@ip-172-26-12-111:~$ sudo mv /opt/bitnami/apache2/conf/bitnami/certs/server.key /opt/bitnami/ap
ache2/conf/bitnami/certs/server.key.old
bitnami@ip-172-26-12-111:~$ sudo ln -sf /opt/bitnami/letsencrypt/certificates/$DOMAIN.key /opt/bitnami
/apache2/conf/bitnami/certs/server.key
bitnami@ip-172-26-12-111:~$ sudo ln -sf /opt/bitnami/letsencrypt/certificates/$DOMAIN.crt /opt/bitnami
/apache2/conf/bitnami/certs/server.crt
bitnami@ip-172-26-12-111:~$ sudo /opt/bitnami/ctlscript.sh start
Starting services..
Job for bitnami.service failed because the control process exited with error code.
See "systemctl status bitnami.service" and "journalctl -xe" for details.
bitnami@ip-172-26-12-111:~$ ``

Any advice would be appreciated. Thanks, Jack

beantwortet vor 2 Jahren
0

Is there another error where it refers to /certificates/ rather than /certs/?

I spotted a note, however, skipping this, which I had not done before did not help.

**Note **Step 5 applies only to instances that use the Ubuntu Linux distribution. Skip this step if your instance uses the Debian Linux distribution.

beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen