Sign client rest request with certificate
No edit summary
No edit summary
Line 1: Line 1:
We will locate the cert by its thumbprint.  
We will locate the cert by its thumbprint.  


On prem servers : you have installed the cert in on the server machine(s) that need to use it.
Add a Root ViewModelColumn of type string called 'ClientCertThumbPrint' (case sensitive) and provide the thumbprint in the ViewModel that use restGet, [[Rest Post|restPost]] or [[SOAP|SoapCall]]
 
On prem servers : you have installed the cert on the server machine(s) that need to use it.


On Azure: You upload cert + must create app setting as explained here https://azure.microsoft.com/sv-se/blog/using-certificates-in-azure-websites-applications/
On Azure: You upload cert + must create app setting as explained here https://azure.microsoft.com/sv-se/blog/using-certificates-in-azure-websites-applications/


We will look in X509Store(StoreName.My, StoreLocation.CurrentUser); make sure you add the cert to the user running your service.
We will look in X509Store(StoreName.My, StoreLocation.CurrentUser); make sure you add the cert to the user running your service.
Pick the RestOperator you want to use with a client certificate - like [[OCLOperators RestPost|RestPost]] in this send in user 'thumbprint' (case insensitive) and the thumprint of your installed cert in the password field.

Revision as of 08:31, 18 October 2019

We will locate the cert by its thumbprint.

Add a Root ViewModelColumn of type string called 'ClientCertThumbPrint' (case sensitive) and provide the thumbprint in the ViewModel that use restGet, restPost or SoapCall

On prem servers : you have installed the cert on the server machine(s) that need to use it.

On Azure: You upload cert + must create app setting as explained here https://azure.microsoft.com/sv-se/blog/using-certificates-in-azure-websites-applications/

We will look in X509Store(StoreName.My, StoreLocation.CurrentUser); make sure you add the cert to the user running your service.

This page was edited 86 days ago on 02/10/2024. What links here