230
Views
6
Comments
How to import pfx certificates file in Outsystem for consuming api

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

2021-06-02 20-50-04
Márcio Carvalho

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

2020-09-01 10-42-42
Stefano Valente

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.

2021-08-02 05-37-03
Madhavan Selvaraj

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

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Kunal,

Did you check this document?

2021-08-02 05-37-03
Madhavan Selvaraj

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//


Thanks & Regards,

Madhavan

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

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.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.