Thanks for the information. What is the lego version you are using in the new server?
sudo lego --version
What do you mean with the sentence below? Are you trying to generate the certificate again in the new server or copying the previous ones from the old server?
(...) and moved the certificate
Apart from that, did you stopped the Apache service before running the
lego run command? Also, you need the domain name to point to your server IP address to generate a certificate.
We have a Support Tool that will gather relevant information for us to analyze your configuration. Could you please download and execute it on the machine where the stack is running by following the steps described in the guide below?
How to Run the Bitnami Support Tool
Please note that you need to paste the code outputted by the tool in your reply.