question

MeenaS avatar image
0 Votes"
MeenaS asked LeonLaude commented

Certificate Authentication - System Center Orchestrator Runbook

How to invoke certificate in "Invoke-Webservices" activity in SCORCH runbook

msc-orchestrator-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeonLaude avatar image
0 Votes"
LeonLaude answered LeonLaude edited

Hi,

Orchestrator allows you to configure HTTPS certificate options in cases where certificate validation fails, you can follow the official Microsoft documentation for the Invoke-Webservices runbook activity, under the HTTPS certificate options section:

https://docs.microsoft.com/en-us/system-center/orchestrator/standard-activities/invoke-web-services?view=sc-orch-2019#BKMK_HTTPS

If this is not meeting your requirements, you can always use PowerShell which allows you to accomplish most things.


(If the reply was helpful please don't forget to accept as answer, thank you)


Best regards,
Leon


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

StoyanChalakov avatar image
0 Votes"
StoyanChalakov answered LeonLaude commented

Hi @MeenakumariS-4664,

what do you mean by "invoke" exactly? You can adjust certificate validation options there, so which https certificates to accept and which not. Exactly as mentioned here:

invoke-web-services

Regards


(If the reply was helpful please don't forget to accept as answer, thank you)

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, Am trying post data in an endpoint using it's WSDL. But authentication to the endpoint requires certificate authentication along with user authentication.

How do we achieve this?
How do we append endpoint provided certificates in this activity?

0 Votes 0 ·

Not sure if this is possible with the builtin "Invoke-Webservices" runbook activity, another option would be to use PowerShell in a Run .Net Script runbook activity, for example by using the Invoke-RestMethod PowerShell cmdlet, personally I think you have better possibilities by using PowerShell.


1 Vote 1 ·