a month ago - last edited a month ago
Hi All,
I'm currently working on a API, where i have the cert's installed into certmgr, which is required to make the connection. I'm using below actions but unable to resolve the issue, please let me know if anyone has faced similar issues.
1. Using HTTP Utility v10.0.2 - Load Certificate Action
Passing the Subject value of the installed cert from certmgr screen
When i try to run this stage, getting the error that "Could not execute the code stage - object reference not set to a instance of an object"
Can anyone tried referring the cert installed in certmgr via blueprism?
Answered! Go to Answer.
4 weeks ago - last edited 4 weeks ago
Thank you @Brigianakopec for your inputs.
I have already tried providing the values without the CN value but in my case there few more params like CN. So prvoided the values only in comma seperated values but it did not work.
But i have managed to make it work with SubjectKeyIdentifier value, changed the global code from subject to SubjectKeyIdentifier.
Also there are 2 cert stores, one is LocalMachine and another one is CurrentUser. i had to refere the cert from CurrentUser, so updated the code to CurrentUser cert store and it worked.
The changes to be done is into Intialize page Global Code and Load Certificate action.
a month ago
Could you provide a screenshot of the parameters you put?
Note: Make sure you enter the subject without the CN:
4 weeks ago - last edited 4 weeks ago
Thank you @Brigianakopec for your inputs.
I have already tried providing the values without the CN value but in my case there few more params like CN. So prvoided the values only in comma seperated values but it did not work.
But i have managed to make it work with SubjectKeyIdentifier value, changed the global code from subject to SubjectKeyIdentifier.
Also there are 2 cert stores, one is LocalMachine and another one is CurrentUser. i had to refere the cert from CurrentUser, so updated the code to CurrentUser cert store and it worked.
The changes to be done is into Intialize page Global Code and Load Certificate action.