How to generate P12 certificate for CIBIL?
Following are the mandatory commands for P12 Certificate connectivity and installation process.
-
On Windows - Generate the P12 Certificate from the following command and import the P12 Certificate in the browser to access our WSDL.
openssl pkcs12 -export -out certificate.p12 -inkey privateKey.key -in certificate.crt -certfile more.crt
-
On Linux - You can follow any one of the steps for generating the P12 Certificate connectivity from the whitelisted IP machine.
- You can use wget or curl command for certificate connectivity
wget -v --certificate=/path/to/certificate.crt --private-key=/path/to/file.key --ca-certificate=/path/to/cacertificate.crt https://gccs-in-live.sd.demo.truelink.com/GCCS-ws/GlobalCreditPlatformWebServicev2?wsdl
curl -v --cert /path/to/certificate.crt --key /path/to/file.key --pass PASSWORD --cacert /path/to/cacertificate.crt --url https://gccs-in-live.sd.demo.truelink.com/GCCS-ws/GlobalCreditPlatformWebServicev2?wsdl
- Generate the P12 Certificate from the following command and import the P12 Certificate in the browser to access our WSDL.
openssl pkcs12 -export -out certificate.p12 -inkey privateKey.key -in certificate.crt -certfile more.crt
- You can use wget or curl command for certificate connectivity
- Install SoapUI 5.4.0 or Postman Application, on your whitelisted IP machine, and follow the below-mentioned steps for both Windows/Linux.
- Navigate to the Preferences tab > open SSL Settings > browse for the P12 Certificate in the Keystore > mention the KeyStore Password(P12 password). Click on requires Client Authentication, and select OK in the SOAPUI.
- Navigate to File > click on New SOAP Project > mention WSDL in the WSDL section and select OK.
- The API Structure will get loaded, and then you can click on Ping Service Request, and mention all the required parameters like account details, and URL - https://gccs-in-live.sd.demo.truelink.com/GCCS-ws/GlobalCreditPlatformWebServicev2.
- Submit to check if the ResponseStatus is received Success.
- Follow the below-mentioned steps to download the V2 WSDL file on the whitelisted IP in UAT. UAT URL - https://gccs-in-live.sd.demo.truelink.com/GCCS-ws/GlobalCreditPlatformWebServicev2?wsdl
- Download the V2 WSDL file in your system.
- Compile it to generate the generated class based on V2 WSDL.