Cert expired and I'm having trouble renewing

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is: www.krainbuild.com

I ran this command:
sudo mv /opt/bitnami/apache2/conf/cert.csr/opt/bitnami/apache2/conf/cert.csr.old

It produced this output:
mv: cannot stat ‘/opt/bitnami/apache2/conf/server.csr’: No such file or directory

My web server is (include version):
Bitnami?

The operating system my web server runs on is (include version):
?

My hosting provider, if applicable, is:
AWS

I can login to a root shell on my machine (yes or no, or I don’t know):
yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot: command not found

1 Like

Hi @angi

checking your domain there is a certificate - 33 days expired - https://check-your-website.server-daten.de/?q=krainbuild.com#certificates

CN=www.krainbuild.com
	15.07.2019
	13.10.2019
33 days expired	krainbuild.com, www.krainbuild.com - 2 entries

And there is a new certificate, created today.

Issuer not before not after Domain names LE-Duplicate next LE
Let's Encrypt Authority X3 2019-11-15 2020-02-13 krainbuild.com, www.krainbuild.com
2 entries duplicate nr. 1
Let's Encrypt Authority X3 2019-07-15 2019-10-13 krainbuild.com, www.krainbuild.com
2 entries
Let's Encrypt Authority X3 2019-04-04 2019-07-03 krainbuild.com, www.krainbuild.com
2 entries
Let's Encrypt Authority X3 2019-04-04 2019-07-03 krainbuild.com, www.krainbuild.com
2 entries
Let's Encrypt Authority X3 2018-11-29 2019-02-27 krainbuild.com, www.krainbuild.com
2 entries
Let's Encrypt Authority X3 2018-11-28 2019-02-26 krainbuild.com, www.krainbuild.com
2 entries
Let's Encrypt Authority X3 2018-11-26 2019-02-24 krainbuild.com, www.krainbuild.com
2 entries
Let's Encrypt Authority X3 2018-11-19 2019-02-17 krainbuild.com, www.krainbuild.com
2 entries

Bitnami requires additional steps to use a certificate.

So do these steps again.

1 Like

Hi! Thanks for the reply. In my attempts to try to use this new cert, I used these commands:
sudo mv /opt/bitnami/apache2/conf/krainbuild.com.crt /opt/bitnami/apache2/conf/krainbuild.com.crt.old
sudo mv /opt/bitnami/apache2/conf/krainbuild.com.key /opt/bitnami/apache2/conf/krainbuild.com.key.old
sudo mv /opt/bitnami/apache2/conf/cert.csr /opt/bitnami/apache2/conf/cert.csr.old
sudo ln -sf /opt/bitnami/letsencrypt/certificates/krainbuild.com.key /opt/bitnami/apache2/conf/krainbuild.com.key
sudo ln -sf /opt/bitnami/letsencrypt/certificates/krainbuild.com.crt /opt/bitnami/apache2/conf/krainbuild.com.crt
sudo chown root:root /opt/bitnami/apache2/conf/server*
sudo chmod 600 /opt/bitnami/apache2/conf/server*

The one I bolded gives me the error I posted above. I’m guessing that’s a Bitnami problem then?

Thanks again!

No. The mv is the shell command move MV - Wikipedia - that has nothing to do with Bitnami.

Perhaps a typo. And you can't move the same file two times.

And your error message doesn't look like a problem with your command - your command doesn't use server.csr.

Hmm…I’m using the instructions on this page:
https://docs.bitnami.com/aws/how-to/generate-install-lets-encrypt-ssl/

(I changed domain to my domain. Then I found a support article that said to replace server too, so I tried that too).

Do you have any suggestions on how I can install the new certificate? Thanks!

If you are mixing different sources, how should that work?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.