DX Application Performance Management

Expand all | Collapse all

Enble Webview via HTTPS

Jump to Best Answer
  • 1.  Enble Webview via HTTPS

    Posted 11-14-2016 02:16 AM

    Hi,

     

    Can anyone please help me in enabling APM Webview via HTTPS. I gone throught the CA APM 10.2 document but unable to find the exact.

     

    Appreciate your earliest response

     

    Regards,

    Siddharth



  • 2.  Re: Enble Webview via HTTPS

    Posted 11-14-2016 08:46 AM

    Hi Siddharth:

         Will try to get someone to respond

     

    Thanks

    Ha German



  • 3.  Re: Enble Webview via HTTPS
    Best Answer

    Posted 11-14-2016 09:30 AM

    Hi Siddharth,

     

    On the MOM, to recognize that the HTTPS is to be used for the embedded web server port, this property in IntroscopeEnterpriseManager.properties will be uncommented as shown below:

     

    introscope.enterprisemanager.webserver.jetty.configurationFile=em-jetty-config.xml

     

    And you would need to verify that HTTPS is enabled in this file em-jetty-config.xml.  Make sure the below snippet is in there.

      <Set name="port">8444</Set>

     

    Since there is no automatic redirect when using the HTTPS, you would have to specify HTTPS protocol in the URL in the IntroscopeWebview.properties file.

     

    introscope.webview.enterprisemanager.rest.base=https://{EM_HOST}:8444/apm/appmap

     

    Be sure to change {EM_HOST} to your hostname or ip address of the MOM.



  • 4.  Re: Enble Webview via HTTPS

    Posted 11-14-2016 09:31 AM

    Also, to clear the Webview cache, here is a link to a kb for it.

     

    Delete Webview cache 



  • 5.  Re: Enble Webview via HTTPS

    Posted 11-14-2016 09:33 AM

    Hi Siddharth,

     

    On the enterprise manager that is hosting WebView, there is a configuration file with the beginnings of how to configure WebView access through HTTPS instead of HTTP.

     

    /<EM HOME>/config/webview-jetty-config.xml

     

    In addition, you would need to adjust the WebView configuration within the <EM Home>/config/IntroscopeEnterpriseManager.properties file to direct to the https instead of http.  This is the link that Team Center would use to open WebView.

     

    #######################
    # WebView Configuration
    #
    # ================
    ################################################
    # Webview base url used to build links for email
    # introscope.webview.default.url=http://localhost:8080
    introscope.webview.default.url=http://<team center EM host>:8080

     

    You might want to brush up on how to admin a Jetty server:

    Jetty/Howto/Configure SSL - Eclipsepedia 

     

    I was unable to locate a step by step guide within the 10.x documentation set on how to do this, but hopefully this will give you a start.

     

    Hopefully this helps,

    Billy



  • 6.  Re: Enble Webview via HTTPS

    Posted 11-14-2016 09:44 AM

    Hi Siddharth:

    Were these responses helpful and you are able to enable HTTPS? Please let us know

    Thanks

    Hal German



  • 7.  Re: Enble Webview via HTTPS

    Posted 11-15-2016 07:47 AM

    Hi Siddharth:

    Matt and Billy posted some good next steps to enable HTTPS. There were no follow-up questions. So marking as answered. Please feel free to post your experience in trying these solutions or any additional questions.

     

    Thanks

    Hal German