Here, we are going to see how to generate TrustStore from secured URL which will be used to get response from that URL.
Please follow the given steps to get TrustStore and KeyStore details for specific HTTPS URL
Step 1: Click secure button in browser’s URL text box.
Step 2: Click certificate valid button. A certificate dialog will open, navigate to details tab and click copy to file to open the certificate export wizard.
Step 3: Click next in the certificate export wizard dialog.
Step 4: In export file format window, select the format and click next, the file to export window will open. In this window browse the folder location where the certificate file to be saved and click next.
Step 5: In the final window, click finish and the certificate will be exported to the given folder location automatically.
Step 6: After the certificate gets exported. Open the command prompt and navigate to C:\Syncfusion\DataIntegration\<version>\Java\jdk_x64\bin> and execute the following command to generate truststore.jks file.
|keytool -import -alias dataintegration -file <certificate_file_location> -keystore <location_to_save_truststore> -storepass <password>|
<certificate_location>= Mention your certificate location.
<location_to_save_truststore>= mention the location in which the truststore should be saved.
<password>= any password – (This password should be mentioned in StandardSSLContextService controller services in Data Integration Platform)
After executing the previous command, the TrustStore file gets created successfully in the given location.