Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Tomando como ejemplo en nombre del servidor "www.ideasoft.biz" y el puerto por defecto de https "443"

SSL con java 1.7

A partir de la versión 6.4.x se utiliza java 1.7. Y para que funciones SSL con java 1.7 hay que agregar la property:

en linux (jboss.sh y liferay.sh):
JAVA_OPTS="$JAVA_OPTS -Djsse.enableSNIExtension=false"

en windows (JBoss.bat y Liferay.bat):
set JAVA_OPTS=%JAVA_OPTS% -Djsse.enableSNIExtension=false

Portlets.properties

o3.http.host=www.ideasoft.biz
o3.http.port=443
liferay.port=443

o3.http=https://${o3.http.host}:${o3.http.port}

urlPrefixPortal=https\://${o3.http.host}\:${o3.http.port}/o3web
urlPrefixUploadFiles=https\://${o3.http.host}\:${o3.http.port}
urlPrefixExist = https://${o3.http.host}:${o3.http.port}
urlPrefixRest=https\://localhost\:PUERTO_SERVIDOR

O3Server.properties

http.host=SERVIDOR
http.port=PUERTO_APACHE_O_SERVIDOR (ejemplo si es un apache va: 80, sino va el 8080, o el que se use)

gis.o3portal.url = https://www.ideasoft.biz/o3portal
geoserver.url = https://www.ideasoft.biz/geoserver
eportal.url = https://www.ideasoft.biz/eportal

O3Web.properties

o3.http.upload.host=www.ideasoft.biz
o3.http.upload.port=443

urlPrefixRest=http\://localhost\:PUERTO_SERVIDOR
urlPrefixChannel=https://www.ideasoft.biz/o3-parts-blaze-web
urlPrefixTicket=http\://localhost\:PUERTO_SERVIDOR
urlPrefixResources=https://www.ideasoft.biz/o3-parts-blaze-web
urlPrefixUploadFiles=https://${o3.http.upload.host}:${o3.http.upload.port}

<o3>/liferay/tomcat/webapps/eportal/WEB-INF/classes/portal-ext.properties

host.name=www.ideasoft.biz
o3.cas.server.host=${host.name}
o3.base.url= https://${host.name}
liferay.host=${host.name}

cas.login.url=https://${o3.cas.server.host}/cas/login
cas.logout.url=https://${o3.cas.server.host}/cas/logout?service=https://${liferay.host}/eportal

cas.validate.url=http://localhost:PUERTO_SERVIDOR/cas/proxyValidate

<o3>/liferay/tomcat/webapps/eportal/WEB-INF/web.xml

Buscar el filtro "o3ClientSSOLiferayFilter" y "o3ClientSSOLogoutLiferayFilter" y agregar el "init-param" llamado "serverName" con el valor "www.ideasoft.biz" (en lugar de "localhost:8080")

<o3>/liferay/tomcat/webapps/o3-parts-web/WEB-INF/classes/portlets-config/portlets-config.properties

urlPrefixLogout=https\://www.ideasoft.biz/o3-rest
urlPrefixRest=http\://localhost\:PUERTO_SERVIDOR
urlPrefixChannel=https\://www.ideasoft.biz/o3-parts-web
urlPrefixTicket=http\://localhost\:PUERTO_SERVIDOR
urlPrefixPortal=https\://www.ideasoft.biz/o3web
urlPrefixUploadFiles=https\://www.ideasoft.biz
urlPrefixServerSync=https\://www.ideasoft.biz/o3web
urlPrefixExist=https\://www.ideasoft.biz

 

  • No labels