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

Re: [Ftpapi] LIBHTTP and SHOPIFY



It appears that myshopify is very strict with their ssl setup. They only accept TLS1.2 and above, and only have strong ciphers selected. You can see the report by going here.
https://www.ssllabs.com/ssltest/analyze.html?d=cosabella-international.myshopify.com

It looks like you will need to upgrade to at least V7R2 in order to get it work.
https://www.ibm.com/support/pages/configuring-your-ibm-i-system-secure-sockets-layer-ssltransport-layer-security-tls-protocols-and-cipher-suites

On Wed, 2020-09-09 at 14:40 +0200, Fulvio Biagini wrote:

Hi,

This is the command that works fine from a browser but does not work in AS400:

https://<User>:<Password>@cosabella-international.myshopify.com/admin/api/2020-07/orders.json?limit=1

in As400:
HTTPAPI URL('https://<User>:<Password>@cosabella-international.myshopify.com/admin/api/2020-07/orders.json?limit=1')
DOWNLOAD('/home/test/http.txt')
TYPE('application/json')
DEBUG('/home/test/debug.txt')

this is the log:

HTTPAPI Ver 1.41 released 2020-06-05NTLM Ver 1.4.0 released 2014-12-22

OS/400 Ver V6R1M0

http_persist_open(): entered

http_long_ParseURL(): entered

DNS resolver retrans: 2

DNS resolver retry : 2

DNS resolver options: x'00000136'

DNS default domain: COLLE_DOM

DNS server found: 8.8.8.8

DNS server found: 8.8.4.4

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) "Peer" non riconosciuto o è stato ricevuto un messaggio formattato non correttamente.

ssl_error(415): (GSKit) "Peer" non riconosciuto o è stato ricevuto un messaggio formattato non correttamente.

SetError() #30: SSL Handshake: (GSKit) "Peer" non riconosciuto o è stato ricevuto un messaggio f

some idea?

Fulvio


  Kevin  Bucknum
                   Senior Programmer Analyst
                   MEDDATA / MEDTRON
                   120 Innwood Drive
                   Covington LA 70433
                   Local: 985-893-2550
                   Toll Free: 877-893-2550
                 https://www.medtronsoftware.com



CONFIDENTIALITY NOTICE

This document and any accompanying this email transmission contain confidential information, belonging to the sender that is legally privileged.  This information is intended only for the use of the individual or entity named above.  The authorized recipient of this information is prohibited from disclosing this information to any other party and is required to destroy the information after its stated need has been fulfilled.  If you are not the intended recipient, or the employee of agent responsible to deliver it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of these documents is STRICTLY PROHIBITED.  If you have received this email in error, please notify the sender immediately to arrange for return or destruction of these documents.

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