Four Stars

How to connect to securised REST API with SSL through a proxy ?

Hello,

 

I try to connect to a REST API securised with SSL through a proxy .

But the component tSetProxy in https mode doesn't provide authentification parameters (user/mdp).

In snapshot attached, there is one solution for this use case.

 

Is there a best way for this achieve this goal ?

 

Thanks in advance.

2 REPLIES
Moderator

Re: How to connect to securised REST API with SSL through a proxy ?

Hello,

If you are trying to call a rest service with a self signed certificate, you need to have the certificate installed as "trusted" or the connections will fail.

Are you able to successfully import the certificate?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Four Stars

Re: How to connect to securised REST API with SSL through a proxy ?

Hello,

 

Thanks for your help.

Yes, I've already import the certificate on my trustore and I refere to it with the tSetKeystore component.

My problem, is that I have to use both tSetproxy in http mode and tSetproxy in https mode in order to connect at the Rest API,

because I have to authenticate to the proxy and I can't do this with the tSetproxy in https mode.

 

Capture.PNG

 

 

 

 

Best regards