Install discourse with a staging (test) ssl certificate

AI-generated summary

UnivacTwo encountered a Let’s Encrypt rate limit while reinstalling Discourse after a failed upgrade, preventing new SSL certificate generation. They asked if using --staging with acme.sh could bypass the issue. pfaffman suggested restoring the /var/discourse/shared folder from the old instance to reuse existing certificates, and offered a paid recovery service if needed. UnivacTwo later confirmed the issue was resolved, noting they hadn’t realized the Let’s Encrypt limit would affect them after reinstalling from backup.

Let’s encrypt has a limit of how many certificates can be generated in a week for the same domain. Unfortunately we reach this limit and we cannot generate a new certificate this week.

We did a backup of our community and started to reinstall Discourse from scratch, as we reach this limit we could not install it anymore. Is there any way in which we could install Discourse with the parameter --staging on the acme.sh ?

We have our forum down, and I would appreciate a fast answer.

Thank you

Why did you re-install from scratch? Do you still have the shared folder from the old instance? If you copy over the letsencrypt and ssl folders you should be able to use those certificates. Mostly, you’d just rsync over /var/discourse/shared from the other server and rebuild. It should re-use the existing certificates.

If you do have access to those files and it’s an emergency that you want to throw money at, see Redirecting…. I should be at my desk for at least the next hour or so.

I reinstalled discoure cause an upgrade went wrong and I had a backup. I didn’t realized I will run our of ssl certificates from Letsencrypt I have resolved it in the meantime.