Service Virtualization

Expand all | Collapse all

How do I access HTTPS Rest services through devtest?

Jump to Best Answer
  • 1.  How do I access HTTPS Rest services through devtest?

    Posted 08-14-2017 04:06 PM

    while accessing rest services I am getting handshake exception. Do we need any configuration settings to check this?

     

    I am using key store file with password. 



  • 2.  Re: How do I access HTTPS Rest services through devtest?
    Best Answer

    Posted 08-14-2017 05:29 PM

    Hi Venugopal,

     

    It depends if the endpoint is configured for 1-way or 2-way authentication.

    If it is 2-way, you will need to provide the client keystore in the local.properties file using the properties:

       ssl.client.cert.path=
       ssl.client.cert.pass=
       ssl.client.key.pass=
       ssl.client.alias=

    If it is 1-way, you won't need to provide client keystore.

     

    You can also face issues because of TLS versions.

    Before you execute the test step, open the HTTP and SSL Debug Viewer under the Help main menu.

    The HTTP and SSL Debug Viewer lets you observe the details of HTTP and SSL activity in DevTest Workstation.

    In this Debug Viewer you should be able to see the TLS version in the ClientHello. Then verify what your server is expecting.

     

    You can change the TLS version DevTest Workstation is using by setting the following property in the local.properties for Workstation:

       https.protocols=TLSv1.2 

     

    There are no spaces in this property.

     

    Hope it helps.

    Heloisa



  • 3.  Re: How do I access HTTPS Rest services through devtest?

    Posted 08-16-2017 11:21 AM

    thanks for your solution.