Foren

LDAP add server button broken when https used

thumbnail
William Gosse, geändert vor 8 Jahren.

LDAP add server button broken when https used

Liferay Master Beiträge: 533 Beitrittsdatum: 04.07.10 Neueste Beiträge
I tried adding a new LDAP server to Liferay’s Portal Settings -> Authentication -> LDAP -> Add but the request is getting rejected for some reason.

It seems like the LDAP add server button in the control panel is broken when
company.security.auth.requires.https=true
session.enable.phishing.protection=false
web.server.protocol=https

are set to deal with https request coming from the frontend web server.

Also this is for the 6.2 enterprise edition so I don't know if it applies to the community addition.

I can get to the Add LDAP Server page just fine in my local development environment that is not running on http.

When I click the button on the https enabled environment I'm taking back to the Portal Settings page.
thumbnail
William Gosse, geändert vor 8 Jahren.

RE: LDAP add server button broken when https used (Antwort)

Liferay Master Beiträge: 533 Beitrittsdatum: 04.07.10 Neueste Beiträge
It looks like we were able to work around this issue by opening up https port directly on the app server where liferay is deployed. When access the control panel using the appserver url and port the add ldap server button works correctly.
thumbnail
Andrew Jardine, geändert vor 8 Jahren.

RE: LDAP add server button broken when https used

Liferay Legend Beiträge: 2416 Beitrittsdatum: 22.12.10 Neueste Beiträge
Hi William,

We jsut started seeing this with the SP13/SP14 releast of 6.2 EE. Like you we don't observe the problem locally (where we access the site using http on port 8080) but on our servers we started seeing this.

Q1. Are you using the Tomcat bundle on your side?

Q2. When you say open up the https port do you just mean that you enabled the 8443 connector? (assuming you are using tomcat I mean)

Any additional details you can provide would be appreciated!
thumbnail
William Gosse, geändert vor 8 Jahren.

RE: LDAP add server button broken when https used

Liferay Master Beiträge: 533 Beitrittsdatum: 04.07.10 Neueste Beiträge
We are using JBoss Enterprise with the Liferay Enterprise war, not the Liferay/Jboss Bundle.

Yes we opened up port 8443 on the JBoss server for https.
thumbnail
Olaf Kock, geändert vor 8 Jahren.

RE: LDAP add server button broken when https used

Liferay Legend Beiträge: 6403 Beitrittsdatum: 23.09.08 Neueste Beiträge
as you say that this is on EE: Please open a support ticket to get it fixed.
thumbnail
William Gosse, geändert vor 8 Jahren.

RE: LDAP add server button broken when https used

Liferay Master Beiträge: 533 Beitrittsdatum: 04.07.10 Neueste Beiträge
We hadn't quite worked out the licensing with Liferay when I first posted this but that now been resloved.