Title: Login with certificate (CNS smart card) Post by: Salvatore L. on June 25, 2019, 12:37:16 pm I have to connect to a web service in soap, but in order to open the connection I don't have to use basic authentication but a certificate-based authentication.
How should I configure fglprofile to do this? The project serves for the connection to the "Electronic Health Record" (FSE) which started in Italy. The url is "https://fseservice.sanita.finanze.it/FseInsServicesWeb/services/fseStatoConsensi" Title: Re: Login with certificate (CNS smart card) Post by: Sisavanh S. on June 25, 2019, 01:38:57 pm Hi,
The certificate will probably be checked at the https connection. So configuring your certificate for https should be enough. See these topics: https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/t_gws_ssl_client_tutorial.html https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/t_gws_ssl_config_client_cert.html If you still have issues, please contact your local support center. Best regards, Sisa. Title: Re: Login with certificate (CNS smart card) Post by: Salvatore L. on June 26, 2019, 02:02:22 pm My fglprofile is:
security.id3.privatekey = "??????????"# it must be read from smart card (I can't export) security.id3.certificate = "tscns.crt" #public key exported from smart card Can genero manage certificate inside a smart card like pkcs11? Title: Re: Login with certificate (CNS smart card) Post by: Sisavanh S. on June 26, 2019, 03:23:19 pm Hi,
I do not know much about smart card. If you were able do export the certificate, I guess there is also a way to export the private key. If you are on Windows there is still the way to import the key in windows keystore. Please, contact your local support center to sort this out. Best regards, Sisa. Title: Re: Login with certificate (CNS smart card) Post by: Sisavanh S. on June 26, 2019, 03:32:44 pm Hi again,
Looks like we do not support the access to a smart cart. Could you contact me at support@4js.com ? I need details to register a request for you. Best regards, Sisa. |