02-03-2020 07:08 AM
EDIT: The connection to /alfresco and the admin console works with https.
Only /share is not reachable and the page "Something's wrong with this page..." is displayed after login.
I am a beginner and hope someone here can help me. I installed Alfresco from the Market on GCP and assigned a fixed IP to the instance. I want to set up HTTPS now, so I went the way via Certbot. I have changed these entries in the "alfresco-global. properties".
alfresco.port=443
alfresco.protocol=https
share.port=443
share.protocol=https
A) I have the following configuration:
B) Now, after installing Certbot, here's the situation:
I think I still have to configure Apache to forward to the appropriate destinations. But I can't find any instructions for this.
C) My next questions are:
Thanks a lot!
02-03-2020 03:08 PM
You should (if not already done in your GCP VM) install/configure apache2 or nginx as a reverse proxy using the certbot ssl sertificate your created before. Take a look into Alfresco's docker examples how to do that:
apache2 config from alfresco-docker-template
or loftux's alfresco-ubuntu-install scripts containting nxinx default config
02-03-2020 03:20 PM
Apache2 is already running and https also works on https://www.mydomain.xy/alfresco and the admin console. only share cannot be reached. After login a page with "Something's wrong with this page..." appears and from there it goes back to the login screen.
02-05-2020 04:00 PM
This sounds like an CSRF Token Filter issue and should be logged in your alfresco.log / catalina.out
If you set share.host / port / protocol in alfresco-global.properties as seen from the browser you should be fine / shouldn't need to struggle with CSRFPolicy configs ...
Explore our Alfresco products with the links below. Use labels to filter content by product module.