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

Re: [Ftpapi] Authentication using public and private key



Do you have an application ID associated with the client certificate? Are you using that application ID in your program. Example 3 is a good place to start

On Mon, 2020-09-21 at 12:15 +0000, Técnica de Sistemas System-i Filiales wrote:

Hello,

I really don’t have much information on the subject. I’m part of a system administration team which have been asked to help find the issue behind that failed authentication. As far as I know we should be able to access the webservice with a private/public key method using certificates imported in DCM. Those certificates are imported but they seem to have zero effect on the output from HTTPAPI. So I’m here actually looking for information about how can this be achieved. Can you help us with that?

Thank you

 

 

Manuel Ribeiro

Técnica de sistemas System i
Área - Filials, Internacional

e-mail: manuel.ribeiro@xxxxxxxxxxxxxxxxxxxx

               bgitnow.systemi.fil@xxxxxxxx

Tel.: +351 916050991

Máximo/peticiones/Catálogo de Oferta: FILIALES-> SERVIDORES Y ALMACENAMIENTO -> IBM i

 

 

 

 

From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx <ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx> On Behalf Of Scott Klement
Sent: 18 de setembro de 2020 23:07
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: [EXTERNAL] Re: [Ftpapi] Authentication using public and private key

 

Este mensaje proviene de un remitente externo: tenga cuidado, especialmente, con enlaces y archivos adjuntos.


Hello Manuel,

You haven't provided very much information.  What sort of public/private key authentication are you trying to use?  Do you have an example of doing this with a different tool that could be adapted to HTTPAPI?

Also, the portion of the HTTP_DEBUG log you provide doesn't contain the actual HTTP conversation, which might have had some information that would explain what is needed.  Can you provide the remainder of the log?  Or, if its private, perhaps you can look in the log and determine what needs to be done?

Thanks!

 

On 9/18/2020 5:00 AM, Técnica de Sistemas System-i Filiales wrote:

Hello,

 

Does anyone knows how I can setup public and private key authentication in HTTPAPI? Do I need to import something on DCM or anywhere else?

We are currently getting this error.



 

SetError() #13: HTTP/1.1 401 Unauthorized

recvresp(): end with 401

recvdoc parms: chunked 0

SetError() #36: This page requires a user-id & password

http_close(): entered

 

Thank you in advance


Manuel Ribeiro

Técnica de sistemas System i
Área - Filials, Internacional

e-mail: manuel.ribeiro@xxxxxxxxxxxxxxxxxxxx

               bgitnow.systemi.fil@xxxxxxxx

Tel.: +351 916050991

Máximo/peticiones/Catálogo de Oferta: FILIALES-> SERVIDORES Y ALMACENAMIENTO -> IBM i

 

 

 


__________________________________________________

Li cal imprimir aquest missatge? Protegim el medi ambient •¿Necesita imprimir este mensaje? Protejamos el medio ambiente • Do you need to print this message? Let's protect the environment

Advertiment legal: la informació d’aquest missatge de correu electrònic s’adreça exclusivament al destinatari previst. Si ha rebut el missatge per error, si us splau, notifiqui-ho al remitent i esborri’l sense copiar-lo, enregistrar-lo ni distribuir-lo.

Advertencia legal: la información de este mensaje de correo electrónico se dirige exclusivamente al destinatario previsto. Si usted ha recibido el mensaje por error, por favor, notifíquelo al remitente y bórrelosin copiarlo, grabarlo ni distribuirlo.

Legal warning: the information contained in this e-mail message is for the exclusive attention of the planned recipient. If you have received the message by error, please notify the sender and delete the message without copying, recording or distributing it.
__________________________________________________

IT NOW, S.A.
c/ Numancia 164, 08029 Barcelona
Registro Mercantil de Barcelona, tomo 37789, folio 29, hoja número B-41494
CIF: A-58443060




__________________________________________________

Li cal imprimir aquest missatge? Protegim el medi ambient •¿Necesita imprimir este mensaje? Protejamos el medio ambiente • Do you need to print this message? Let's protect the environment

Advertiment legal: la informació d’aquest missatge de correu electrònic s’adreça exclusivament al destinatari previst. Si ha rebut el missatge per error, si us splau, notifiqui-ho al remitent i esborri’l sense copiar-lo, enregistrar-lo ni distribuir-lo.

Advertencia legal: la información de este mensaje de correo electrónico se dirige exclusivamente al destinatario previsto. Si usted ha recibido el mensaje por error, por favor, notifíquelo al remitente y bórrelosin copiarlo, grabarlo ni distribuirlo.

Legal warning: the information contained in this e-mail message is for the exclusive attention of the planned recipient. If you have received the message by error, please notify the sender and delete the message without copying, recording or distributing it.
__________________________________________________


IT NOW, S.A.
c/ Numancia 164, 08029 Barcelona
Registro Mercantil de Barcelona, tomo 37789, folio 29, hoja número B-41494
CIF: A-58443060



  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