3.1. Changing IdP Domain Names and Port Numbers
The default domain name and port number for the IdP is samlidp.identia.net:4443. To change the domain name and port numbers go to the bin directory of the IdP server (i.e. /opt/idp-tomcat7/bin) and edit the idp-param.properties file.
After editing the idp-param.properties file, run the idp-config script. This script will create a new key, certificate and keystore for the new IdP domain name in the IdP server (i.e. /opt/idp-tomcat7/idp-resources/credentials/idp.jks). It will also replace all default domain name and port number with the new values in configuration files.
3.2. Modifying RP with New IdP Domain Names and Port Numbers
After changing the domain name and port numbers for the IdP, you will also need to make some modifications to the RP.
The samlKeystore.jks located in the RP application (i.e. /opt/sp2-tomcat7/sp2_webapps/identia-rp-demo/WEB-INF/classes/security) contains the IdP signing key. After you created a new IdP key for the new domain name, you need to import the key into the samlKeystore.jks.
Keytool –importkeystore –srckeystore “path to idp.jks” –destkeystore “path to samlKeystore” –srcalias “new idp domain name” –destalias “new idp domain name”
3.3. Changing RP Domain Names and Port Numbers
The default domain name and port number for the RP is samlsp2.identia.net:6423. To change the domain name and port number, edit the server.xml of the RP. You will also need to create a new server cert for the new RP domain name. After the new server cert is created, import the key to the sp.jks located in the conf directory (i.e. /opt/sp2-tomcat7/conf/) and import the certificate to the idp.jks located in the IdP server.