Forums >> BVSTools >> BVSTools Software Discussion >> Get URI (GETURI) Specific Discussion
Using GETURI with a Client Side Certificate
by: bvstone

Jump to: 






bvstone

Using GETURI with a Client Side Certificate

Posted:
Using GETURI with a Client Side Certificate

There are instances where you are given a SSL certificate in order to communicate with a web service over SSL.  

This certificate is to be used by your client application during the SSL communications.  In order to tell GETURI to use this certificate there are a few steps:

  1. Import the certificate into your *SYSTEM store as a client certificate using Digital Certificate Mananger (DCM)
  2. In DCM select the *SYSTEM store.  
  3. Select Work with Client Applications
  4. Click the Add Application Button
  5. Make an Application ID for this project and enter it in the form.  
  6. At the bottom of the display click the radio button next to "Application Description" and enter a description and press Enter.
  7. Click the Add button
  8. Now go to Work with Client and Server Certificates.
  9. Select the certificate you imported and press then Assign to Applications Button.
  10. In the list of applications, put a check mark in the box next to the application you created in the previous step and press the continue button.

When using the GETURI command enter the application ID in the SSL Application ID (SSLAPP) parameter. 

When using the GETURIRG API assign the value of GI_SSLApp to the application ID.  

This tells GETURI and the system to use the client certificate during the communications.

If you're not sure the value to use (it should be all upper case) select the Work With Client Applications option in DCM.   Select the application you created and press the Work With Application button.  

At the top should be:
Application ID: XXXXXXXXXX

The value following the Application ID is the value you will want to use.  This IS case sensitive.





Reply




Copyright 1983-2017 BVSTools
GreenBoard(v3) Powered by the eRPG SDK, MAILTOOL Plus!, GreenTools for Google Apps, jQuery, jQuery UI, BlockUI, CKEditor and running on the IBM i (AKA AS/400, iSeries, System i).