-
Notifications
You must be signed in to change notification settings - Fork 15
USE_SSL enabled, but not able to login to the share page #12
Comments
i am able to login. but page is redirecting to http after entering credentials. if i modify the url with https, it is opening the dashboard thank you |
You may try using this project to generate Docker Compose with HTTPs enabled as sample: It includes the right configuration for every service. |
thank you for the quick reply. and started the alfresco |
I guess you have an entry in "/etc/hosts" for |
yes, i modified /etc/hosts/ already. still getting error. please find the error details below and also, i had to comment below command in alfresco/Dockerfile because it gave error. does this cause any issue? Error i got for above yum command is note: i am behind corporate proxy |
Now solved the issue by setting the proxy, but still not able access https://testalf.com from browser. |
i added the url to proxy exceptions list, working now. thank you |
You can still use the alfresco-acs-nginx:3.2.0 image, but you just need to make sure you update Share's tomcat. You would need to create a Dockerfile for share with the following RUN command FROM quay.io/alfresco/alfresco-share:7.0.0 ARG TOMCAT_DIR=/usr/local/tomcat USER root RUN sed -i '/Connector port="8080"/a scheme="https" secure="true"' /usr/local/tomcat/conf/server.xml && |
i have downloaded docker-compose.yml for alfresco 7.0.0
and changed nginx as below in the .yml file. (generated self signed cert and gave the path below)
proxy:
image: alfresco/alfresco-acs-nginx:3.2.0
mem_limit: 128m
environment:
DISABLE_PROMETHEUS: "true"
DISABLE_SYNCSERVICE: "true"
DISABLE_ADW: "true"
USE_SSL: "true"
DOMAIN: "10.188.104.245" # when USE_SSL="true"
depends_on:
- alfresco
ports:
- 443:443
links:
- alfresco
- share
volumes:
- /mypath/ssl:/etc/nginx/ssl/ # when USE_SSL="true"
when i started alfresco using docker-compose up, im not able to login to the share page. getting below error.
ERROR [alfresco.web.site] [http-nio-8080-exec-1] javax.servlet.ServletException: Possible CSRF attack noted when asserting referer header 'https://10.188.104.245/share/page/'. Request: POST /share/page/dologin, FAILED TEST: Assert referer POST /share/page/dologin :: referer: 'https://10.188.104.245/share/page/' vs server & context: http://10.188.104.245:443/ (string) or (regexp)
please help.
already tried below:
t3. ried to clear cache
but nothing worked
The text was updated successfully, but these errors were encountered: