Python Forum
HTTPS connect with HTTPS proxy in between
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTPS connect with HTTPS proxy in between
#1
In my python program I need to send https request to a cloud server. I am using httplib2 package ( httplib2.HTTPSConnectionWithTimeout ). Every thing works fine. Now I have a proxy in between my client and origin server. This proxy port is https port with mutual TLS. So I need to have a mutual TLS between client and proxy. How do I achieve this. Can I get some sample code which can be used to achieve this.

Client -> https proxy ( Mutual TLS ) -> HTTPS server

( I can see proxy_info parameter, but that takes only http proxy details. )

Thanks in advance

~S
Reply
#2
You can try looking here: http://nullege.com/
Not sure if you'll find anything, but with 65,090 projects, it's a good place to start
Reply
#3
Is it not a transparent proxy? You shouldn't have to do anything.
Reply
#4
Hi

I checked nullege.com no luck ...

This is not a transparent proxy. We are using Apache Traffic Server as proxy and doing some source and destination filtering. Apart from this ATS does mutual TLS with client - which is a mandatory requirement.

Thanks
~S

One suggestion one of my friend suggested is - over ride httplib2 class and give proxy with mutual TLS functionality. Can some one help me to do this - I am not very much handy in the security area and how to do this .

thanks
~S
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Server Http and Https JohnnyCoffee 2 1,929 Feb-10-2023, 12:56 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020