TEC1514135: Webview (HTTPS) error with Chrome/Firefox

Document created by Hallett_German Employee on May 25, 2016Last modified by SamCreek on May 25, 2016
Version 2Show Document
  • View in full screen mode

Author: Hallett_German

     Document ID:  TEC1514135

     Last Modified Date:  9/25/2015

  • Products
    • CA Application Performance Management
  • Releases
    • CA Application Performance Management:Release:10.0
    • CA Application Performance Management:Release:10.1
    • CA Application Performance Management:Release:9.7
  • Components
    • INTROSCOPE

 

 

  Problem:
  Webview (HTTPS) error with Chrome/Firefox
  Users accessing CA APM WebView and/or Team Center see a browser error:  "Server has a weak ephemeral Diffie-Hellman public key." This is preventing use of the web applications.

   Below is a screen shot of the error message:

Server Error.png

 

  Environment:
Known releases impacted are APM 9.7 and 10.0 (including Java 1.7.0.21) using Chrome 45.0.2454.85 or Firefox 40.0.3 and later.  Older releases such as APM 9.6    may also be impacted.  On the browser side, Internet Explorer 11 may be impacted as well.

 

Cause:

- This is due to some recent attacks against TLS (e.g. "Logjam") which target the Diffie-Hellman key exchange algorithm when configured with an initial parameter   (prime "p") smaller than 1024 bits.

What happens is that some of the latest browser updates lockout users when trying to connect to servers configured with weak Diffie-Hellman primes.  These  browsers have been updated to disallow such connections.  This is not a problem in APM, but is caused by an updated mechanism in the way browsers handle  encryption handshakes.

 

Resolution/Workaround:

For users of CA APM 9.7 and 10.0, do one of the following:


1. Set the “-DephemeralDHKeySize=1024” property. This requires Java 7u85 or above.

Add the above setting to lax.nl.java.option.additional section in Introscope_WebView.lax

If the EM is configured to run as a service on Windows, add the following to <EM HOME>/bin/WVService.conf.  In the below example, .4 is the last item in the wrapper.java.additional parameters.  Your setup may vary, so choose the highest number according to your WVService.conf file setup.

wrapper.java.additional.4=-DephemeralDHKeySize=1024

 

Note: CA APM 10.1 will be updated with a newer version of java 8 that will not be affected by this issue.

 

2. Configure Jetty to use the ciphersuites below:

Update the config/webview-jetty-config.xml file and replace the cipher suite configuration to:

    <Set name="cipherSuites">
        <Array type="java.lang.String">
            <Item>TLS_RSA_WITH_AES_128_CBC_SHA</Item>
            <Item>TLS_RSA_WITH_AES_128_CBC_SHA256</Item>
            <Item>TLS_EMPTY_RENEGOTIATION_INFO_SCSV</Item>
        </Array>
    </Set>

Note: Don't forget to uncomment those lines by removing the leading <-- and trailing -->.

Additional Information:

- https://weakdh.org/ -- Weak Diffie-Hellman and the Logjam Attack
- https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange -- Diffie Hellman.

 

 

Search the Entire CA APM Knowledge Base

 

search-kb.jpg

Attachments

    Outcomes