Announcement Banner

JeffAyers

updated

14 years ago

J

JeffAyers

7 Posts

0

1285

September 13th, 2012 11:00

How do I access port 8443 over SSL using Atmos-java?

We protect all of our APIs through an API proxy from Layer 7, which doesn't allow any service to be access from a port with a value lower than 1025 (not unless you change the iptables on the appliance). I would like to use Atmos-java over SSL with port 8443 or any port of my choosing. Is there a work around to accomplish this?

Sincerely,

Jeff

  • JasonCwik

    281 Posts

    443

    0

    Posted September 13th, 2012 12:00

    Yes, when initializing the EsuRestApi, simply specify port 8443 and then set the protocol to https.

            EsuApi atmos = new EsuRestApi("host", 8443, uid, secret);

            ((EsuRestApi)atmos).setProtocol("https");

  • JeffAyers

    7 Posts

    443

    0

    Posted September 13th, 2012 12:00

    Thank you, that worked.