-
Notifications
You must be signed in to change notification settings - Fork 46
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
[Bitnami Apache Wordpress Google Cloud Platform] SSL auto renew is not working #1777
Comments
owenhenderson@naturalvanilla-uk-vm:/opt/bitnami/apache2/conf/bitnami$ sudo mkdir -p /opt/bitnami/apache/htdocs/.well-known/acme-challenge |
Thanks for using Bitnami and sorry for the delay. Can you provide us with more information on the issue you are facing? Is the bncert-tool failing with errors? Which version of the tool are you using? Default file system permissions and configuration should be fine for the SSL certificate to be properly generated. |
Hi, thanks for getting back to me. No matter what we tried the auto renew would not work. We went through all available information in detail but with no success. The cronjob that was installed by the bncert-tool and was running but failed every time to renew the ssl certificate. We were unbale to determine the exact reason why but it seams that no file was being written to .well-known and we also could not access .well-known despite changing file permissions. We did however manage to get the ssl to auto renew using the alternative approach of setting up a different cronjob and running this script: sudo /opt/bitnami/ctlscript.sh stop apache As shown in the script the auto renew will only work by stopping Apache and then restarting. |
Platform
Google Cloud Platform
bndiagnostic ID know more about bndiagnostic ID
SSL auto renew is not working
bndiagnostic output
No response
bndiagnostic was not useful. Could you please tell us why?
SSL auto renew is not working
Describe your issue as much as you can
Using SSH to create the initial SSL certificate using bncert-tool. However it appears that no file has been saved into .well-known which is required for the auto renew of the SSL. When checking file and directory permissions all seams ok giving result as drwxrwxr-x (775)
When trying to access https://SERVER-IP/.well-known it is blocked by "403 Forbidden You don't have permission to access this resource".
I have attempted to modify the bitnami.conf file through SSH but not changes suggested by chatgpt or gemini work.
The text was updated successfully, but these errors were encountered: