I am using the AWS server. I have generated an SSL certificate from the below URL.
https://docs.bitnami.com/aws/how-to/generate-install-lets-encrypt-ssl/
after creating the certificate bitnami service stopped .
for reference, I have given a screenshot of the error.