Portal server in HTTPS with SRA in a separate node

I have s SRA server on one node and a portal server in another node.

On the portal server node a rewriter proxy and a netlet proxy are also

installed.

I have activated the portal server to use HTTPS, I can access directly to it

by using https://myhost.domain.com/portal/dt, but I cannot start the

rewriter proxy nor the SRA itself. I activated the logs for the rewriter and

I have the following error :

<b>

1/17/06 12:40:20 PM CET: Thread[main,5,main]

ERROR: LoginException while creating Application session

com.sun.identity.authentication.spi.AuthLoginException(1):null

com.sun.identity.common.L10NMessageImpl(2):Failed to create new Authentication Context: Naming Servi

ce is not available.

com.sun.identity.common.L10NMessageImpl: Failed to create new Authentication Context: Naming Service

is not available.

at com.sun.identity.authentication.AuthContext.createAuthContext(AuthContext.java: 1256)

...

</b>

Does anyone know how to configure and to make it work for SRA and

Rewriter-Proxy when the portal server itself is in HTTPS ?

Any help would be appreciated.

Thank you.

[1230 byte] By [jct266] at [2007-11-25 21:34:01]
# 1
Have you update the gateway config file and the AMConfig.properties file on the SRA box to reflect your changes?Have you changed the portal server list in the gateway profile, etc...
Thalmayr at 2007-7-5 0:18:16 > top of Java-index,Web & Directory Servers,Portal Servers...
# 2

Yes.

The problem is that the documentation is not very clear on the parameters I have to set, so

I tried several combination, but none of them work, the RW-Proxy does not want to start

and as a side effect the SRA server cannot start if the RW-Proxy is not active.

So the question is :

- is there a complete list of all files and parameters to change to activate SSL on the

portal, when SRA is in a separate node and RW-Proxy is used ?

Thank You.

jct266 at 2007-7-5 0:18:16 > top of Java-index,Web & Directory Servers,Portal Servers...
# 3
Q: Did you chose the https mode during install or did you change to ssl mode afterwards ?Q: basic question: why do you want to run portal in SSL mode with GW+SSL in front of it ?/u
UlfFeger at 2007-7-5 0:18:16 > top of Java-index,Web & Directory Servers,Portal Servers...
# 4

The installation was made without HTTPS on the portal.

Due to a security evolution required by the customer, I have to set

also the portal on HTTPS. They use an internal FireWall that requires

HTTPS for the portal as well, since some of the data sent between the

SRA and the portal are confidential.

(It's in a bank, you know, and as far as security is concerned, they

have strong requiring !)

jct266 at 2007-7-5 0:18:16 > top of Java-index,Web & Directory Servers,Portal Servers...
# 5

In fact, after some research and some tests, I was able to make it work.

I just want to let you know how.

First you have to set SSL on the WebServer (see in the WebServer doc).

Then you have to configure the 'AMConfig.properties' file for the portal server

and to change the following parameters :

com.iplanet.am.server.protocol=https

com.iplanet.am.server.port=443

com.iplanet.am.naming.url=https://myhost.dom.com:443/amserver/namingservice

com.iplanet.am.notification.url=https://myhost.dom.com:443/amserver/namingservi ce

com.iplanet.am.jssproxy.trustAllServerCerts=true

You have to do the same thing for the 'AMconfig-gwprofile.properties' and 'platform.conf.gwprofile' files for the Rewriter-Proxy (where gwprofile is the name

of your Gateway profile).

Then thru the console you have to set : Service Configuration > Platform > Server list

to https://myhost.dom.com:443|01

Then you restart the servers : Web Server, Rewriter-Proxy, Netlet-Proxy and it works.

The only thing that remains is to configure the SRA server:

Change the platform.conf.gwprofile and AMConfig-gwprofile.properties on the SRA machine, replace http by https and 80 by 443 for the portal server, restart the SRA

and : It works fine !

jct266 at 2007-7-5 0:18:16 > top of Java-index,Web & Directory Servers,Portal Servers...