Patrick Martin
2015-08-11 15:19:29 UTC
I am making a demo of two web services, call them Ping and Pong, that talk
to each other over http connection. The Ping service is an aleph server.
The Pong service is right now an aleph client that sends PUT messages to
Ping. When the Ping service receives the message it prints confirmation and
then increments a counter. These little apps work fine but I want to now do
it over https. I have an nginx reverse proxy in front of Ping that upgrades
http to https and then proxies it to the Ping server. When I make a call to
PUT on this server I get a 301 "Moved permanently" response. I then tried
by doing an http PUT but using the https address, but the server throws a
Java SSLHandshakeException.
How do I make aleph http put commands behave with https? I saw in the code
there appears to be an option for "insecure?" but I have not found any
examples. Do I need to put an https proxy in from of Pong to handle all ssl
stuff?
Any guidance would be helpful!
Regards,
Patrick
to each other over http connection. The Ping service is an aleph server.
The Pong service is right now an aleph client that sends PUT messages to
Ping. When the Ping service receives the message it prints confirmation and
then increments a counter. These little apps work fine but I want to now do
it over https. I have an nginx reverse proxy in front of Ping that upgrades
http to https and then proxies it to the Ping server. When I make a call to
PUT on this server I get a 301 "Moved permanently" response. I then tried
by doing an http PUT but using the https address, but the server throws a
Java SSLHandshakeException.
How do I make aleph http put commands behave with https? I saw in the code
there appears to be an option for "insecure?" but I have not found any
examples. Do I need to put an https proxy in from of Pong to handle all ssl
stuff?
Any guidance would be helpful!
Regards,
Patrick
--
You received this message because you are subscribed to the Google Groups "Aleph" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aleph-lib+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Aleph" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aleph-lib+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.