I updated the ticket, but nobody cares about it…
I really hope to find a solution for this. Cert-Auth works, but not in combination with basic-auth.
No! The problem still exists!
I am not able to get the authentication fully working.
If it was not clear: After the “401” error in the console, zarafa-webapp stays in the picture of the “loading-circle”.
I really Need help.
Sorry for the late answer. I did not see your post.
- make the following changes to config.php of webapp
define("DEFAULT_SERVER", "https://felix-KS-38462.lxd01.zarafa.lan:237/kopano"); // When using a single-signon system on your webserver, but Kopano Core is on another server // you can use https to access the Kopano server, and authenticate using an SSL certificate. define("SSLCERT_FILE", "/etc/kopano/ssl/admin-felix-KS-38462.pem"); define("SSLCERT_PASS", NULL);
- test if certificate overrides auth by loging in through webapp and giving wrong password
–> Yes, it is working.
- adapt apache vhost
instead of setting up basic auth, I just hardcoded remote_user the following way
SetEnv REMOTE_USER "user1"
–> I did the same test. Login with user “user1” is working. There is no “Login-window”.
- test if loging still succeeds
-> it does and webapp loads completely.
–> Same for me.
If it weren’t for the fact that you can succesfully login without the basic auth I would say that there is a json parsing error in your users settings. The one way to make sure that this is not the case would be to create a new blank user and try to login with that user.
I created a new user “user1” and tried to login with basic auth. The only error, I can see in the browser console is a 401 error for:
Do you have any idea, why there is the “401”-error?
Thank you for your help!!!
I opened a support case (paid customer).
The “trust” is working. Webapp disables authentication, if https-connection is set up (great), BUT: If I user apache-auth, webapp does not work anymore:
To be sure about the working trust, I disabled Basic-Auth
@Stril if the server is already running on loglevel 6, it seems the ssl connection never reaches the server.
Thats strange. kopano-spooler does connect through https and does not produce “log-output”, too.
I do not see any log entries - no matter, if I connect to localhost:237 or servername:237
Looks like your connection to Kopano Community Forum was lost, please wait while we try to reconnect.