Foros de discusión

LDAP add server button broken when https used

thumbnail
William Gosse, modificado hace 8 años.

LDAP add server button broken when https used

Liferay Master Mensajes: 533 Fecha de incorporación: 4/07/10 Mensajes recientes
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, modificado hace 8 años.

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

Liferay Master Mensajes: 533 Fecha de incorporación: 4/07/10 Mensajes recientes
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, modificado hace 8 años.

RE: LDAP add server button broken when https used

Liferay Legend Mensajes: 2416 Fecha de incorporación: 22/12/10 Mensajes recientes
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, modificado hace 8 años.

RE: LDAP add server button broken when https used

Liferay Master Mensajes: 533 Fecha de incorporación: 4/07/10 Mensajes recientes
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, modificado hace 8 años.

RE: LDAP add server button broken when https used

Liferay Legend Mensajes: 6403 Fecha de incorporación: 23/09/08 Mensajes recientes
as you say that this is on EE: Please open a support ticket to get it fixed.
thumbnail
William Gosse, modificado hace 8 años.

RE: LDAP add server button broken when https used

Liferay Master Mensajes: 533 Fecha de incorporación: 4/07/10 Mensajes recientes
We hadn't quite worked out the licensing with Liferay when I first posted this but that now been resloved.