-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LAMP Cannot install Lets Encrypt Certificates with script or Alternative approach #1760
Comments
gn |
@tooliedotter you should provide one
Hope it helps! |
What a pain in the butt: --domains=" " 58 times: I seriously do not remember having to do that the last time this alternative method worked. (https://docs.bitnami.com/general/how-to/generate-install-lets-encrypt-ssl/#alternative-approach) It did work and thank you @gongomgra! Now if I could just get back that lost day on a long holiday weekend!! Can someone tell me based on the log, etc. why the usual BNCERT-TOOL did not work? |
Hi @tooliedotter, I'm glad it worked for you. I think I have found the issue that you faced in bncert and I have created a new PR to fix it at bitnami/bncert#33 |
Hi @gongomgra, thanks for making that fix. I literally wasted a full day trying to overcome the issue, and I appreciate your kind attention to it. |
Hi @tooliedotter, Thanks for your kind words! We are closing this ticket as solved. |
Platform
AWS
bndiagnostic ID know more about bndiagnostic ID
e543192e-548c-d355-adf2-45c6bc91a096
bndiagnostic output
===== Begin of bndiagnostic tool output =====
[Processes]
[Connectivity]
Server ports 22, 80 and/or 443 are not publicly accessible. Please check the
following guide to open server ports for remote access:
https://docs.bitnami.com/general/faq/administration/use-firewall/
[Apache]
Found recent error or warning messages in the Apache error log.
Please check the following guide to troubleshoot server issues:
Press [Enter] to continue:
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-erro
rs-apache/
[Resources]
Your instance has little available RAM memory.
You could try to increase your instance's memory. Please check your cloud
provider's documentation for more information.
===== End of bndiagnostic tool output =====
bndiagnostic was not useful. Could you please tell us why?
Issues there have nothing to do with my problem
Describe your issue as much as you can
I am unable to run the BN-Cert tool at all; I have tried on two different servers, one with old PHP, and one from the very latest Bitnami release.
Last summer I opened this issue: #1605
You suggested the Alternative Approach, which worked at the time. https://docs.bitnami.com/general/how-to/generate-install-lets-encrypt-ssl/#alternative-approach
When the bncert-tool failed this time on my old server, I tried the Alternative Approach and that failed too. In desperation I set up a whole new LAMP stack (https://bitnami.com/redirect/to/2505088/lampstack-8.4.3-0-amidebian-x64-hvm-ebs-nami?region=us-west-2), and copied over all 29 websites. I duplicated manually the configuration of virtual hosts, and the websites themselves now come up on this fresh server, but of course with no SSL Certificates.
I ran the sudo /opt/bitnami/bncert-tool command, and it failed with these errors:
So I revoked the attempted certificate and tried the Alternative Approach.
Here are the errors I get from the last attempt:
I have copied and pasted the list of domains into 3 different plain text editors AND into MS Word to see what invalid character there might be and I cannot find it. I have NO idea what the problem is, and meanwhile 29 websites don't have their SSL Certificate. This is bad, and I'm at my wits' end. This is work stoppage for my company.
I'm attaching the last diagnostic log from the Alternative Approach. Someone, please tell me what's wrong!
bncert-202501191947.log
The text was updated successfully, but these errors were encountered: