Configuring SSL settings

During the migration of the Postman collections to HCL OneTest API, the SSL setting is changed to Trust All. You can configure the SSL settings of the physical transports created in HCL OneTest API that match with the SSL configurations set in Postman.

Before you begin

You must have completed the following tasks:

Procedure

  1. Open the Architecture School perspective.
  2. Open the Physical View.
    The physical resources in the project are displayed.
    Image of the physical view
  3. Double-click the physical resource for which you want to configure the SSL settings.
    The Web Server dialog box is displayed.
    Image of the web server dialog box.
  4. Click the SSL tab in the Web Server dialog box.
    Image of the SSL tab.
  5. Configure the SSL settings as described in the following table:
    Field Action
    Use SSL Retain the selection.

    Selecting the check box makes the other controls on the SSL tab available. You can enable security for Testing (Client) or Virtualization (Server) or both.

    Server certificates to trust Perform the following steps:
    1. Expand the list, and then select New.
    2. Click Select to browse and select the key store that contains the server certificate.
    3. Enter the key store password.
    4. Click OK.
    Note: All certificates that you add are listed and you can select the certificate that you want for the transport that you are testing.
    Client identities to give to the server Perform the following steps:
    1. Expand the list, and then select New.
    2. Click Select to browse and select the key store that contains the client identities to be given to the server.
    3. Enter the key store password.
    4. Click OK.
    Note: All identity stores that you add are listed and you can select the identity store that you want.
    Certificate source Perform the following steps:
    1. Expand the list, and then select New.
    2. Click Select to browse and select the key store that contains the certificate to authenticate the connection.
    3. Enter the key store password.
    4. Click OK.
    Note: All certificates that you add are listed and you can select the certificate that you want for the stub.
    Certificate Authorities a stub will trust Perform the following steps:
    1. Expand the list, and then select New.
    2. Click Select to browse and select the key store that contains the certificate to authenticate the connection.
    3. Enter the key store password.
    4. Click OK.
    Note: All certificates that you add are listed and you can select the certificate that you want for the stub.
    Override default protocols If you are required to use a specific version of the secure sockets protocol, such as SSLv2 or TLSv1.2, you can enter that algorithm name here.

Results

You have configured the SSL settings for the physical transport that was changed during the migration of the Postman collection to HCL OneTest API.