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

Re: [Ftpapi] Authentication using public and private key



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

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