Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Odd http proxy configuration

William Stephens
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to figure out how to configure the Java proxy settings to match the configuration of a proxy.pac. My business proxies 1) all http ant https traffic to servers in our domain 2) all other http traffic, but does not proxy traffic to other https servers. Configuring Java to proxy ALL http and NO https would work, but I'm running into trouble.

Our app is started via Ant, so I'm basing my configuration on this:

Then I have an Ant target to create a propertyset

This is then set in my java call:

This allows http URL connections to work, but not https. Https appears to be using the http.* proxy settings.

Anyone know of a way to only proxy http and not https?,

Thanks in advance
Bill S.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic