Score:0

How can I create a certificate for my new domain?

ie flag

I'm trying to change my domain in my raspberry as it was configured for an old domain with an old certificate

The problem is that when I try to run the installer or make anything I only find this error:

Error while running apache2ctl configtest.
Action 'configtest' failed.
The Apache error log may have more information.

AH00526: Syntax error on line 33 of /etc/apache2/sites-enabled/000-default-le-ssl.conf:
SSLCertificateFile: file '/etc/letsencrypt/live/lastchancerp.com/fullchain.pem' does not exist or is empty

I did sudo certbot delete which could be the cause...

Old domain is lastchacerp.com as you can see in the error path

How can I create a certificate for my new domain?

Pilot6 avatar
cn flag
How is this related to Ubuntu?
in flag
You will need to first remove the SSL certificate line from the Apache configuration and run through the Let'sEncrypt steps for the new site. Then you can attach the new certificate to your Apache configuration and restart the web server.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.