13.2 Restoring Previous Security Settings for Identity Server

13.2.1 Restoring the Previous Protocols Settings

  1. Open the backup server.xml. For location of the backup file, see Backed Up Configuration Files.

  2. Search for the sslProtocol attribute and copy the attribute value.

  3. Change to the Tomcat configuration directory:

    Linux: /opt/novell/nam/idp/conf

    Windows Server 2008: \Program Files (x86)\Novell\Tomcat\conf

  4. Open the 4.3 or later server.xml file.

    Search for the sslProtocol attribute. You will see the following value:

    sslProtocol="TLSv1.2" sslEnabledProtocols="SSLv2Hello,TLSv1.1,TLSv1.2" 
  5. Replace this attribute value with the previous value that you copied.

13.2.2 Restoring the Previous Settings of Ciphers for SSL Communication

  1. Open the backup server.xml. For location of the backup file, see Backed Up Configuration Files.

  2. Search for the cipher attribute in NIDP_Name="connector" inside the <Connectors> element and copy the list of ciphers.

  3. Using command prompt, change to the Tomcat configuration directory:

    Linux: /opt/novell/nam/idp/conf

    Windows Server 2008: \Program Files (x86)\Novell\Tomcat\conf

  4. Open the 4.3 or later server.xml file.

    Search for the cipher attribute in NIDP_Name="connector" inside the <Connector> element.

  5. Replace this list of ciphers with the list copied in step 2.

  6. (Conditional) If you have multiple Identity Servers in your cluster configuration, repeat these steps on each Identity Server.

13.2.3 Disabling Perfect Forward Secrecy

  1. Open the backed up server.xml. For location of the backup file, see Backed Up Configuration Files.

  2. Search for the cipher attribute in NIDP_Name="connector" inside the <Connectors> element and copy the list of ciphers

  3. Using command prompt, change to the Tomcat configuration directory :

    Linux: /opt/novell/nam/idp/conf

    Windows Server: \Program Files (x86)\Novell\Tomcat\conf

  4. Open the server.xml file. Search for the cipher attribute in NIDP_Name="connector" inside the <Connectors> element.

  5. Replace the list of ciphers with the value you copied in step 2.

13.2.4 Restoring the Previous Settings of the Size of EDH Keys

Linux:

  1. Open the /opt/novell/nam/idp/conf/tomcat.conf file.

  2. Remove the following line:

    JAVA_OPTS="${JAVA_OPTS} -Djdk.tls.ephemeralDHKeySize=2048"

Windows:

  1. Navigate to C:\Program Files (x86)\Novell\Tomcat\bin and then double-click tomcat7w.

  2. Under the Java tab, remove the following line in Java Options:

    -Djdk.tls.ephemeralDHKeySize=2048 

13.2.5 Removing HTTP Strict Transport Security

  1. Change to the Tomcat configuration directory:

    Linux: /opt/novell/nam/idp/webapps/nidp/WEB-INF/web.xml

    Windows Server: \Program Files (x86)\Novell\Tomcat\webapps\nidp\WEB-INF

  2. Open the web.xml file and comment out the httpHeaderSecurity filter definition.

    <filter>
        <filter-name>httpHeaderSecurity</filter-name>
        <filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter-class>
        <async-supported>true</async-supported>
    </filter>
  3. Comment out the hstsMaxAgeSeconds parameter:

    <init-param>
        <param-name>hstsMaxAgeSeconds</param-name>
        <param-value>31536000</param-value>
    </init-param>
    
  4. Comment out the filter mapping.

    <filter-mapping>
        <filter-name>httpHeaderSecurity</filter-name>
        <url-pattern>/*</url-pattern>
        <dispatcher>REQUEST</dispatcher>
    </filter-mapping>

13.2.6 Removing the Clickjacking Filter

  1. In the web.xml file, comment out the following tomcat filter configuration:

    Linux: /opt/novell/nids/lib/webapp/WEB-INF/

    Windows: \Program Files (x86)\Novell\Tomcat\webapps\nidp\WEBINF\

    <filter>
        <filter-name>TomcatSameOriginFilter</filter-name>
        <filter-class>org.apache.catalina.filters.HttpHeaderSecurityFilter</filter-class>
        <init-param>
            <param-name>antiClickJackingOption</param-name>
            <param-value>SAMEORIGIN</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>TomcatSameOriginFilter</filter-name>
        <url-pattern>/*</url-pattern>
    </filter-mapping>
  2. Restart Identity Server .

    Linux: /etc/init.d/novell-idp restart.

    Windows: Enter the following commands:

    net stop Tomcat7

    net start Tomcat7