[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ftpapi] WebServices HTTPS in RPG - SOAP



It looks to me like a TLS version mismatch between the systems causing SSL handshake error. By looking at the logs, it looks like you are using TLS 1.0 so I would make sure they support TLS 1.0 protocol on the other side 

Pandu

On Mon, Mar 8, 2021 at 11:59 AM <max.ino@xxxxxxxxx> wrote:
Hi, all.

I made a program to consume a SOAP WS in https

This part of my program:

____
http_debug(*ON);                                   

URL = "" href="https://xx.xx.xx.xx:8443/BancaDatiDurcPblAutRequest/services/WsBniService/" target="_blank">https://xx.xx.xx.xx:8443/BancaDatiDurcPblAutRequest/services/WsBniService/’

http_setOption('SOAPAction': '""');                                 

SOAP =                                                               

'…..’

response = http_string( 'POST': URL: SOAP: 'text/xml');

___


This is the debug file:  

HTTPAPI Ver 1.40 released 2019-08-15

NTLM Ver 1.4.0 released 2014-12-22

OS/400 Ver V6R1M0

New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0

http_persist_open(): entered

http_long_ParseURL(): entered

DNS resolver retrans: 2

DNS resolver retry  : 2

DNS resolver options: x'00000136'

DNS default domain: cassaedilepg.it

DNS server found: 10.0.0.101

DNS server found: 10.0.0.102

https_init(): entered

QSSLPCL = *OPSYS

SSL version 2 support disabled

SSL version 3 support disabled

Old interface to TLS version 1.0 support enabled

Support for TLS 1.0 unavailable.

Support for TLS 1.1 unavailable.

Support for TLS 1.2 unavailable.

-------------------------------------------------------------------------------------

Dump of local-side certificate information:

-------------------------------------------------------------------------------------

Nagle's algorithm (TCP_NODELAY) disabled.

(GSKit) Il valore dell'identificatore non è valido.

ssl_error(701): (GSKit) Il valore dell'identificatore non è valido.

SNI hostname error: (GSKit) Il valore dell'identificatore non è valido.

NOTE: SNI errors are not usually fatal.

(GSKit) Non esiste una suite di codifica compatibile tra due endpoint SSL.

ssl_error(402): (GSKit) Non esiste una suite di codifica compatibile tra due endpoint SSL.

SetError() £30: SSL Handshake: (GSKit) Non esiste una suite di codifica compatibile tra due endp

http_close(): entered

______________


If i use SOAPUI all is ok.

What am I doing wrong?

Thanks



 





--
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi


--
--/Panduranga Nayak
-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi