We used to pass the SSL certificate details in local.properties file. But there is multiple type of SSL certificates which we need to use in same DevTest project. How can we do that ?
All Supported DEVTEST environments.
By design, for REST GET and POST services we configure the SSL certificate details in local.properties file using the properties below.
Once set, this property is global to all the REST services. This configuration can be a conflict to other REST services with different SSL certs.
To use multiple SSL certificates for different REST services, you would have to use the HTTP GET step or the Web Servicess Execution Step for GET /POST calls.
The keystore files for those certificates can be stored in projects Data folder with subfolder as certificates. These keystore files are .jks or pkcs12 keystores.
- For GET Calls - Use the HTTP Request-HTTP GET Step. Https is specified as the protocol and the port and path are entered. Select the SSL Tab to configure SSL keystore file details.
- For POST Calls – Use the Web Service Execution(XML) Step. Use the ENDPOINT field for the https POST call. Under the Advanced Setting, select SSL Tab to Configure SSL Keystore file details