Anton Artyukh5836028
Posts: 0
Joined: Wed May 08, 2013 12:57 pm

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

Jeremy please, check API for service which you try to use.

I think you have problem with format of request.

jeremy Henry
Posts: 0
Joined: Fri Jul 19, 2013 1:48 pm

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

Hi,

thank you for your reply. I am calling the same service in SOAP UI and it works well. Here is below the code i am using, except that i am using different username/password than "xxxxx.." obviously.

What am i doing wrong in Appery?

thank you,

___________________________________________________________

Endpoint: https://services.klm.com/MetaSearchSe...

xml:

Code: Select all

                                 xxxxxx 
                                 xxxxxxx 

      RH 
      <!--Optional:-- 
      en 

         2013-11-10 
         JFK 
         AMS 

         2013-11-15 
         AMS 
         JFK 

      <!--Optional:--
Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

Hi Jeremy,

Could you please place your code in tags "pre" and "code"? This is not readable otherwise.

jeremy Henry
Posts: 0
Joined: Fri Jul 19, 2013 1:48 pm

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

Hi Katya,

here it is. sorry.

Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

Hello! There is a SOAP request on your screenshot. In Appery.io you need to use REST requests http://docs.appery.io/getting-started/. In fact here is how your request from Appery.io suppose to look like codehttps:&#47;&#47;services&#46;klm&#46;com&#47;MetaSearchService&#47;MetaSearchService_v1&#46;asmx?Username=xxxxx&Password=xxxxxx&KLM_MetaSearchParty=RH&DepartureDateTime=2013-09-09&OriginLocation=AMS&DestinationLocation=JFK&AirTraveler=1&PriceRequestInformation=Economy&KLM_Lang=en/code.
You would need to check is http://klm.com/ has API. Another way is to try to create ajax request and form correct SOAP request (form correct xml with needed parameters), but no guarantee it will work...

jeremy Henry
Posts: 0
Joined: Fri Jul 19, 2013 1:48 pm

javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

hi, thanks. I knew indeed, but have been confused by the ability to choose xml.
Thank you for your time and clear.

Return to “Issues”