Hii,
My client give me Pfx file for api consume but i dont know how to add this certificate to Outsystem 11 and consume their api anybody can help
I saw this post, but I dont know how accurate it can be to your case. Have a look at how to Configure and Use Web Service Client-Side Certificates!
https://www.outsystems.com/forums/discussion/9471/configure-and-use-web-service-client-side-certificates/
Also, have a look at this in the case is too old.
https://www.outsystems.com/forums/discussion/46277/sll-certificates-on-rest-services-consume/
And this one I think is the one you need 🤔
https://www.outsystems.com/forums/discussion/44537/how-to-use-https-consumer/
Kind Regards,
Márcio
If you want the certificate to be installed on the server and you are in a cloud solution, you should send them with a ticket and OS will install them for you.
There is another option, but it depends on your solution in how you implement the certificates in your project.
You can also import it as resource and use an extension or forge component to add it to your API service in the Onbefore Advanced action.
I would recommend the first option.
Dear Stefano,
We are having On-Premise environment. I need to use pfx certificate during the API REST call.
Could you please advise me the way to do it?
Thanks & Regards,
Madhavan
Hi Kunal,
Did you check this document?
Dear Kilian,
We used https consumer forge component and followed the steps provided in the description.
But we are getting the error as follows:
//The request was aborted. Could not create SSL/TLS secure channel//
Unfortunately, that's a very unspecific error, and could be caused by a number of reasons. However, it's unlikely the certificate has anything to do with it. This is a lower-level error. If there was something wrong with the certificate, the calling party would give an error and return a 403 or something. This error just means that there's something wrong on HTTPS-level. Could be a wrong server certificate, for example.