Five 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.

6 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.
Five 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

 

Four Stars

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

Hello,

I have exactly the same problem. Does someone find a solution ?

 

Regards,

Aurélien.

Moderator

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

Hello,

On the advanced tab of tRestClient, there is a section where you can add proxy details. Could you please use trestclient instead?

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 Sabrina,

 

Thank you for your reply but I know the option. My problem is to use https proxy in a generic way (also with tMicrosoftInputCRM for instance).

 

Regards,

Aurélien.

Moderator

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

Hello,

It depends on your Online CRM authentication mechanism. Are you able to set studio proxy to make other proxy works?

studio-proxy-setting.png

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.