Closed acostablueday closed 1 month ago
Buongiorno, non viene inviata nessun messaggio di conferma dopo la compilazione dell'EuSurvey e non sono necessarie ulteriori azioni da parte vostra. Pertanto, qualora abbiate già richiesto i certificati come descritto al link richiesta-certificati, potete procedere con l'esecuzione dei test e il successivo caricamento dei risultati tramite pull request, seguendo le istruzioni riportate in documentazione. Per ulteriori informazioni sulla fase 1 relativa al processo di accreditamento può consultare la seguente guida: fase-1-processo-di-accreditamento Grazie.
Buongiorno,
stiamo provando il primo test per RSA
utilizzando curl eseguo la seguente chiamata: curl --location 'https://modipa-val.fse.salute.gov.it/govway/rest/in/FSE/gateway/v1/documents/validation' \ --header 'FSE-JWT-Signature: {sign_token}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {auth_token}' \ --form 'requestBody="{ \"healthDataFormat\": \"CDA\", \"mode\": \"RESOURCE\", \"activity\": \"VERIFICA\", }"' \ --form 'file=@output.pdf;type=application/pdf'
al posto di {sign_token} e {auth_token} mettiamo i token generati tramite il jwt-generator, il file output.pdf è presente nella directory ed stato creato tramite il pdf-generator.
Però mi da il seguente errore: curl: (35) LibreSSL/3.3.6: error:1401E410:SSL routines:CONNECT_CR_FINISHED:sslv3 alert handshake failure
Cosa stiamo sbagliando?
Buon pomeriggio,
Nella richiesta da lei effettuata sembrerebbe mancare il certificato di autenticazione che può indicare nella chiamata curl
tramite i due parametri riportati di seguito: --cert-type P12 --cert A1***.p12:PASSWORD
indicando il proprio certificato di Autenticazione e Password. La invitiamo gentilmente a riprovare dopo aver apportato le modifiche indicate e restiamo a disposizione. Grazie
Ho apportato la modifica ed ora mi torna il seguente messaggio:
{"type":"https://govway.org/handling-errors/401/TokenAuthenticationFailed.html","title":"TokenAuthenticationFailed","status":401,"detail":"Invalid token","govway_id":"39fa180b-3ec7-11ef-a6bf-005056ae7395"}
il risultato è corretto per considerare il test indicato sopra come "superato"?
Altra domanda, seguendo la guida (https://github.com/ministero-salute/it-fse-support/tree/main/doc/integrazione-gateway) in particolare il punto 3.1.1 non veniva indicato di dover usare --cert-type P12 --cert A1***.p12:PASSWORD
, come mai?
Buonasera, dalle analisi svolte sui log della chiamata, non risultano presenti i token Authorization Bearer e FSE-JWT-Signature tra i parametri di input ma sono stati utilizzati dei placeholder:
La informiamo che al link jwt-generator è disponibile il tool JWT Generator che consente di generare i JWT per effettuare le chiamate ai servizi. Di seguito può trovare il link con la documentazione relativa alla valorizzazione dei campi in esso contenuti: campi-contenuti-nei-jwt La preghiamo di inserire i parametri mancanti e riprovare. Grazie.
Giusto, scasate avevo messo il template e non il token corretto, mettendo i token ora mi da questo messaggio:
{"type":"https://govway.org/handling-errors/400/InteroperabilityInvalidRequest.html","title":"InteroperabilityInvalidRequest","status":400,"detail":"Received request is not conform to the required interoperability profile","govway_id":"703bc36a-3ecc-11ef-a6bf-005056ae7395"}
Buongiorno, dalle analisi effettuate sui token utilizzati, i seguenti campi non risultano corretti:
Authentication Bearer Token:
"aud": "FSE_Gateway"
: indica il destinatario per cui è stato creato il token, da valorizzare con la base URL del servizio, comprensivo della versione, ossia "aud": "https://modipa-val.fse.salute.gov.it/govway/rest/in/FSE/gateway/v1"
"iss": "auth:jwt-issuer"
: deve essere valorizzato con "auth:" seguito dal "Common Name del certificato di firma"FSE-JWT-Signature:
"aud": "FSE_Gateway"
: indica il destinatario per cui è stato creato il token, da valorizzare con la base URL del servizio, comprensivo della versione, ossia "aud": "https://modipa-val.fse.salute.gov.it/govway/rest/in/FSE/gateway/v1"
"iss": "integrity:jwt-issuer"
: deve essere valorizzato con "integrity:" seguito dal "Common Name del certificato di firma""locality": "jwt-location"
: deve essere valorizzato con l'identificativo della struttura utentePer maggiori informazioni sui campi contenuti nei JWT può consultare la documentazione al link: campi-contenuti-nei-jwt La preghiamo di correggere gli errori segnalati e riprovare. Grazie.
Ho apportato le modifiche ed ora ho il seguente risultato:
{"type":"https://govway.org/handling-errors/401/TokenAuthenticationFailed.html","title":"TokenAuthenticationFailed","status":401,"detail":"Invalid token","govway_id":"c00deddf-3ed1-11ef-a6bf-005056ae7395"}
Ho però un dubbio sul campo locality
, non saprei di preciso dove recuperarlo
Buon pomeriggio, dalle analisi effettuate sui log della sua ultima chiamata, sembrerebbe che i due token Authorization Bearer e FSE-JWT-Signature da lei usati non abbiano una firma valida. Infatti, decodificandoli tramite il sito jwt.io, compare il messaggio di errore "Invalid Signature":
Le suggeriamo di controllare che i certificati siano stati generati correttamente e che stia impiegando quello corretto per la firma. Dopo di che, la invitiamo a generare nuovamente i token e a verificarli sul sito jwt.io prima di effettuare la chiamata al servizio. Se non lo sta già utilizzando, può ricorrere al tool jwt-generator per la generazione dei JWT. Esso è scaricabile al seguente link: jwt-generator Come descritto in documentazione, il campo locality può essere valorizzato come segue in base al caso d'uso:
"locality": "201123456"
"locality": "201"
Rimaniamo a disposizione per ulteriori chiarimenti.
Ho rigenerato i certificati ed ora ho questo messaggio d'errore:
{"type":"https://govway.org/handling-errors/401/TokenAuthenticationFailed.html","title":"TokenAuthenticationFailed","status":401,"detail":"Invalid token","govway_id":"41432243-3f8a-11ef-a6bf-005056ae7395"}
Buon pomeriggio, Potrebbe gentilmente riportare anche i token Bearer e Signature utilizzati per la chiamata? Grazie
questa è la chiamata che ho fatto:
curl --location 'https://modipa-val.fse.salute.gov.it/govway/rest/in/FSE/gateway/v1/documents/validation' \ --cert-type P12 --cert auth.p12:prova \ --header 'FSE-JWT-Signature: gMMLFtx4J_Vy2SsEbczK7cDsl0VyS3s7A_IPoHgZP8f6dQvxVKa1cXkhx5pbaY1tRdfHzpiQD1oNe9mmXHTANLxEG78xX3ybwBjZl4rLopNLSPEOnzlt8pq6NdgR1UtRPuE1G2wS6dPbPSzrs377kAao0BOcLu5LcxgagbO3RYo8BkPLIAwUyE6TeLeK1z0QpFZQOoJCtsdymw' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer eyJ4NWMiOlsiTUlJRmdqQ0NBMnFnQXdJQkFnSVVkY25oMk1uUEpiL0pQUUl4cm9kNmcreU5lcXd3RFFZSktvWklod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ode\": \"RESOURCE\", \"activity\": \"VERIFICA\", }"' \ --form 'file=@output.pdf;type=application/pdf'
Buongiorno, il token FSE-JWT-Signature non risulta valido poiché, decodificandolo sul sito jwt.io, appare il messaggio di errore "Invalid Signature":
La preghiamo di rigenerarlo ed effettuare una nuova chiamata dopo averne verificato la correttezza. Grazie.
Ho creato un nuovo token e relativi certificati, ho fatto questa chiamata:
curl --location 'https://modipa-val.fse.salute.gov.it/govway/rest/in/FSE/gateway/v1/documents/validation' \ --cert-type P12 --cert auth.p12:prova \ --header 'FSE-JWT-Signature: eyJ4NWMiOlsiTUlJRmdqQ0NBMnFnQXdJQkFnSVVkY25oMk1uUEpiL0pQUUl4cm9kNmcreU5lcXd3RFFZSktvWklodmNOQVFFTEJRQXdWekVuTUNVR0ExVUVBd3dlUTBFZ1RXbHVhWE4wWlhKdklHUmxiR3hoSUZOaGJIVjBaU0JVWlhOME1SOHdIUVlEVlFRS0RCWk5hVzVwYzNSbGNtOGdaR1ZzYkdFZ1UyRnNkWFJsTVFzd0NRWURWUVFHRXdKSlZEQWVGdzB5TkRBMk1qQXhOakUwTURKYUZ3MHlOekEyTWpFeE5qRTBNREZhTUlHQ01Rc3dDUVlEVlFRR0V3SkpWREVmTUIwR0ExVUVDZ3dXVFdsdWFYTjBaWEp2SUdSbGJHeGhJRk5oYkhWMFpURWZNQjBHQTFVRVlRd1dRMFk2U1ZRdFVGSlBWa0ZZTURCWU1EQllNREF3V1RFeE1DOEdBMVVFQXd3b1V6RWpNVEV4STFSRlEwaE9UMHhQUjFsSVJVRk1WRWhUV1ZOVVJVMVRSMUpQVlZCVFVreFlXRENDQVNJd0RRWUpLb1pJaHZjTkFRRUJCUUFEZ2dFUEFEQ0NBUW9DZ2dFQkFNNTFiSm11dlYxMjh1dTFqR3VzRjVXczUraWlFMkN4cVM3RngzL1UyK1dWZkQ2TlNDdStldXQrM3lYVXNQMzBEOEdmeXNkTm9xUjhCeHNZdnpSeENONkhVWFV2S3BQOFl2OXRDazhn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doeitteG4vbkxNcVZDeWpBSlM0VTB3MURCa0hsb3NvTkRadElVYlMzT3dNaklFdWdJQ1ZUcEtaYlhJREFKYkJLRmdka1NNU3FnTUw5blBvSnBCRjltOC9wQVJFdTRDVURDOUZ3b0Fua1JWWS9pUFgxU3Y5blFnZEtzV1BhOWJxcDU4eHh4VTBaSDZaZTM5YlhIMHFQUDVFVEFvMXdYVmpHS0c3TzVIVnlYM3Q1UUFLbVBneGI4QXpaOXY2dVBJYm5wV0l0aG5Rekh2dkx5S2c9PSJdLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJQUk9WQVgwMFgwMFgwMDBZXl5eJjIuMTYuODQwLjEuMTEzODgzLjIuOS40LjMuMiZJU08iLCJhdWQiOiJodHRwczovL21vZGlwYS12YWwuZnNlLnNhbHV0ZS5nb3YuaXQvZ292d2F5L3Jlc3QvaW4vRlNFL2dhdGV3YXkvdjEiLCJpc3MiOiJhdXRoOlRFQ0hOT0xPR1lIRUFMVEhTWVNURU1TR1JPVVBTUkxYWCIsImV4cCI6MTcyMDc3NjIxMywiaWF0IjoxNzIwNzcyNjEzLCJqdGkiOiIxMjM0In0.KY89vmNoNkcpMRZx0fRDjnWMnbYQWNV0pqRbE7-7MFKgJCcN5fbmi32DkVPO8oLf06huYaKNBspM8oLR4r_ZpBhjrxGMKTuKUH5O7x2KGEePuUdrUFnyXRW-GK-Z8O75l38iiEu7tgqrv-ttYh9A9z8tr62RtGlZM60j08woQ-Rhjk0cGiCMLmcpeRzcj_D8fHDMHTLXbvd9rxn3kMCFNW8DsCw2rpl5le8NT04sUWpjrHYc3GzoLHdxNEEVg9PMBlcegwy79JA9Vg-D9cgxvDEzz-dAk-EfMtQIr68HUG1-hjY5rnqiJ0GPsqxrUowu6A2m2-XrOb7wHM8TM8rVBA' \ --form 'requestBody="{ \"healthDataFormat\": \"CDA\", \"mode\": \"RESOURCE\", \"activity\": \"VERIFICA\", }"' \ --form 'file=@output.pdf;type=application/pdf'
ed ho il seguente errore:
{"type":"https://govway.org/handling-errors/400/InvalidRequestContent.html","title":"InvalidRequestContent","status":400,"detail":"Request content not conform to API specification: Validation error(s) :\nAn error occurred when getting the body content from type 'multipart/form-data; boundary=------------------------FgDn0Uf6WtmDi5JtZrVJRo'.\ncom.fasterxml.jackson.core.JsonParseException: Unexpected character ('}' (code 125)): was expecting double-quote to start field name\n at [Source: (org.apache.commons.fileupload.MultipartStream$ItemInputStream); line: 5, column: 2] (code: 201)\n","govway_id":"dd86a15a-4025-11ef-8aa0-005056ae54fa"}
Buongiorno, Il messaggio ricevuto in risposta sembrerebbe dovuto ad un errore di sintassi della chiamata. Le riportiamo un esempio di chiamata del servizio di validazione, dove al suo interno è necessario sostituire i parametri indicati di seguito con le valorizzazioni corrette:
curl -k "https://modipa-val.fse.salute.gov.it/govway/rest/in/FSE/gateway/v1/documents/validation" --cert-type P12 --cert {cert_authentication.p12}:{password} -H "Authorization:Bearer {token_bearer}" -H "FSE-JWT-Signature: {token_signature}" -H 'accept:application\/json' -H "Content-Type:multipart/form-data" -F "requestBody={\"activity\": \"VALIDATION\", \"healthDataFormat\": \"CDA\", \"mode\": \"ATTACHMENT\"}" -F "file=@output.pdf"
La invitiamo gentilmente a riprovare seguendo le indicazioni riportate, facendo attenzione a mantenere spazi ed apici come indicato. Restiamo a disposizione per ulteriore supporto. Grazie
Ho creato questa chiamata:
curl -k 'https://modipa-val.fse.salute.gov.it/govway/rest/in/FSE/gateway/v1/documents/validation' --cert-type P12 --cert auth.p12:**** -H 'Authorization:Bearer eyJ4NWMiOlsiTUlJRmdqQ0NBMnFnQXdJQkFnSVVkY25oMk1uUEpiL0pQUUl4cm9kNmcreU5lcXd3RFFZSktvWklodmNOQVFFTEJRQXdWekVuTUNVR0ExVUVBd3dlUTBFZ1RXbHVhWE4wWlhKdklHUmxiR3hoSUZOaGJIVjBaU0JVWlhOME1SOHdIUVlEVlFRS0RCWk5hVzVwYzNSbGNtOGdaR1ZzYkdFZ1U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6YXRpb25faWQiOiIxMjAiLCJhdWQiOiJodHRwczovL21vZGlwYS12YWwuZnNlLnNhbHV0ZS5nb3YuaXQvZ292d2F5L3Jlc3QvaW4vRlNFL2dhdGV3YXkvdjEiLCJwYXRpZW50X2NvbnNlbnQiOnRydWUsImFjdGlvbl9pZCI6IkNSRUFURSIsInJlc291cmNlX2hsN190eXBlIjoiKCcxMTUwMi0yXl4yLjE2Ljg0MC4xLjExMzg4My42LjEnKSIsInN1YmplY3RfYXBwbGljYXRpb25faWQiOiJzYWx1dGlzIiwiZXhwIjoxNzIwNzgwODM4LCJzdWJqZWN0X2FwcGxpY2F0aW9uX3ZlbmRvciI6InRocyIsImlhdCI6MTcyMDc3NzIzOCwianRpIjoiMTIzNCIsInBlcnNvbl9pZCI6IlJTU01SQTIyQTAxQTM5OVpeXl4mYW1wOzIuMTYuODQwLjEuMTEzODgzLjIuOS40LjMuMiZhbXA7SVNPIn0.LqMthRGD7cjnNOX-4LS_xdvzxCOYKKCEEa4avQGXQXng61AIv1HcHxxI_vmldFQ4BT0xic9k3qFIuwufGFum-Qx_cEQqqBUnRnPGDcnC0rehZIiGtts_uFqgp-AONcasZmqtuGTjKbkSUzDyvpe3_bfajXkfDNtdvI6PPcLbYNcG6VocYzLIxxojwf13rF_1o89codTioaqIRg7iTtebkQTSO4xXCQNQGQTsAZp8znADiUKODNqEYrW07wHU-6pPsjIV6dpIuteZoGhUbYw9HCEkXDIcXfw0KUvL3bmg4JoPuFRXRJPr05B8f18QVGzzuQa_6XFKdTR0lpioD1ldzw' -H 'accept:application\/json' -H 'Content-Type:multipart/form-data' -F "requestBody={\'activity\': \'VALIDATION\', \'healthDataFormat\': \'CDA\', \'mode\': \'ATTACHMENT\'}" -F 'file=@output.pdf'
ma ho questo errore:
{"type":"https://govway.org/handling-errors/400/InteroperabilityInvalidRequest.html","title":"InteroperabilityInvalidRequest","status":400,"detail":"Received request is not conform to the required interoperability profile","govway_id":"7aef689c-4031-11ef-a6bf-005056ae7395"}
Il token Authorization Bearer utilizzato nell'ultima chiamata non è valido:
La invitiamo a rigenerarlo, incollare il suo contenuto nella texbox "Encoded" sul sito jwt.io e verificare che appaia il messaggio "Signature Verified" come mostrato in figura:
Dopo di che, può procedere ad effettuare una nuova chiamata al servizio. Grazie.
Nuova richiesta:
curl -k "https://modipa-val.fse.salute.gov.it/govway/rest/in/FSE/gateway/v1/documents/validation" --cert-type P12 --cert auth.p12:*** -H "Authorization:Bearer eyJ4NWMiOlsiTUlJRmdqQ0NBMnFnQXdJQkFnSVVkY25oMk1uUEpiL0pQUUl4cm9kNmcreU5lcXd3RFFZSktvWklodmNOQVFFTEJRQXdWekVuTUNVR0ExVUVBd3dlUTBFZ1RXbHVhWE4wWlhKdklHUmxiR3hoSUZOaGJIVjBaU0JVWlhOME1SOHdIUVlEVlFRS0RCWk5hVzVwYzNSbGNtOGdaR1ZzYkdFZ1UyRnNkWFJsTVFzd0NRWURWUVFHRXdKSlZEQWVGdzB5TkRBMk1qQXhOakUwTURKYUZ3MHlOekEyTWpFeE5qRTBNREZhTUlHQ01Rc3dDUVlEVlFRR0V3SkpWREVmTUIwR0ExVUVDZ3dXVFdsdWFYTjBaWEp2SUdSbGJHeGhJRk5oYkhWMFpURWZNQjBHQTFVRVlRd1dRMFk2U1ZRdFVGSlBWa0ZZTURCWU1EQllNREF3V1RFeE1DOEdBMVVFQXd3b1V6RWpNVEV4STFSRlEwaE9UMHhQUjFsSVJVRk1WRWhUV1ZOVVJVMVRSMUpQVlZCVFVreFlXRENDQVNJd0RRWUpLb1pJaHZjTkFRRUJCUUFEZ2dFUEFEQ0NBUW9DZ2dFQkFNNTFiSm11dlYxMjh1dTFqR3VzRjVXczUraWlFMkN4cVM3RngzL1UyK1dWZkQ2TlNDdStldXQrM3lYVXNQMzBEOEdmeXNkTm9xUjhCeHNZdnpSeENONkhVWFV2S3BQOFl2OXRDazhnTGhQcHdqeEVvaHByY0JuSzVwZ0JrZE15WmFaL2VHTXpZTHgxV1prMFlDU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43Iiwic3ViamVjdF9vcmdhbml6YXRpb24iOiJTYWx1dGlzIiwic3ViamVjdF9vcmdhbml6YXRpb25faWQiOiIxMjAiLCJhdWQiOiJodHRwczovL21vZGlwYS12YWwuZnNlLnNhbHV0ZS5nb3YuaXQvZ292d2F5L3Jlc3QvaW4vRlNFL2dhdGV3YXkvdjEiLCJwYXRpZW50X2NvbnNlbnQiOnRydWUsImFjdGlvbl9pZCI6IkNSRUFURSIsInJlc291cmNlX2hsN190eXBlIjoiKCcxMTUwMi0yXl4yLjE2Ljg0MC4xLjExMzg4My42LjEnKSIsInN1YmplY3RfYXBwbGljYXRpb25faWQiOiJzYWx1dGlzIiwiZXhwIjoxNzIwNzgwODM4LCJzdWJqZWN0X2FwcGxpY2F0aW9uX3ZlbmRvciI6InRocyIsImlhdCI6MTcyMDc3NzIzOCwianRpIjoiMTIzNCIsInBlcnNvbl9pZCI6IlJTU01SQTIyQTAxQTM5OVpeXl4mYW1wOzIuMTYuODQwLjEuMTEzODgzLjIuOS40LjMuMiZhbXA7SVNPIn0.LqMthRGD7cjnNOX-4LS_xdvzxCOYKKCEEa4avQGXQXng61AIv1HcHxxI_vmldFQ4BT0xic9k3qFIuwufGFum-Qx_cEQqqBUnRnPGDcnC0rehZIiGtts_uFqgp-AONcasZmqtuGTjKbkSUzDyvpe3_bfajXkfDNtdvI6PPcLbYNcG6VocYzLIxxojwf13rF_1o89codTioaqIRg7iTtebkQTSO4xXCQNQGQTsAZp8znADiUKODNqEYrW07wHU-6pPsjIV6dpIuteZoGhUbYw9HCEkXDIcXfw0KUvL3bmg4JoPuFRXRJPr05B8f18QVGzzuQa_6XFKdTR0lpioD1ldzw" -H "accept:application/json" -H "Content-Type:multipart/form-data" -F "requestBody={\"activity\": \"VALIDATION\", \"healthDataFormat\": \"CDA\", \"mode\": \"ATTACHMENT\"}" -F "file=@output.pdf"
i certificati sono giusti, ma ho sempre l'errore:
{"type":"https://govway.org/handling-errors/403/AuthorizationContentDeny.html","title":"AuthorizationContentDeny","status":403,"detail":"Unauthorized request content","govway_id":"3ab38578-4036-11ef-8aa0-005056ae54fa"}
Dalle verifiche effettuate sui token è emerso che l'errore ricevuto sembrerebbe essere dovuto alla valorizzazione del campo iss, tale campo deve essere valorizzato con il Common Name del certificato di firma ricevuto:
Bearer "iss": "auth:S1#111#TECHNOLOGYHEALTHSYSTEMSGROUPSRLXX"
Signature "iss": "integrity:S1#111#TECHNOLOGYHEALTHSYSTEMSGROUPSRLXX"
Restiamo a disposizione. Grazie
Quindi nel campo "iss" del file data.json
utilizzato dalla libreria (https://github.com/ministero-salute/it-fse-gtw-tools/tree/main/jwt-generator) cosa devo mettere?
al momento questo è il mip data.json
:
{ "sub": "PROVAX00X00X000Y^^^&2.16.840.1.113883.2.9.4.3.2&ISO", "subject_role": "AAS", "purpose_of_use": "", "iss": "S1#TECHNOLOGYHEALTHSYSTEMSGROUPSRLXX", "subject_application_id": "salutis", "subject_application_vendor": "ths", "subject_application_version": "1.2.7", "locality": "201123456", "subject_organization_id": "120", "subject_organization": "Salutis", "aud": "https://modipa-val.fse.salute.gov.it/govway/rest/in/FSE/gateway/v1", "patient_consent": true, "action_id": "CREATE", "resource_hl7_type": "('11502-2^^2.16.840.1.113883.6.1')", "jti": "1234", "person_id":"RSSMRA22A01A399Z^^^&2.16.840.1.113883.2.9.4.3.2&ISO", "pem_path": "./S1#111#TECHNOLOGYHEALTHSYSTEMSGROUPSRLXX.pem", "p12_path": "./signature.p12" }
Buon pomeriggio,
il campo "iss"
all'interno del file data.json
dovrebbe essere valorizzato come riportato di seguito:
"iss": "S1#111#TECHNOLOGYHEALTHSYSTEMSGROUPSRLXX"
Restiamo a disposizione in caso l'errore dovesse ripresentarsi. Grazie
Ho corretto il campo iss
, ora l'api mi torna questo messaggio:
{"traceID":"2b81cbea99fb9838","spanID":"2b81cbea99fb9838","type":"/msg/jwt-validation","title":"Campo token JWT non valido.","detail":"Il campo purpose_of_use non è valorizzato","status":403,"instance":"/jwt-mandatory-field-missing","workflowInstanceId":"UNKNOWN_WORKFLOW_ID"}
E' corretto per rispettare il punto 1 dei test?
Si, però il test (https://github.com/ministero-salute/it-fse-accreditamento/tree/main/Test%20Case) presente nel file accreditamento-checklist.xlsx
chiede proprio di lasciare il campo vuoto:
o ho capito male?
Le confermiamo che ai fini del caso di test riportato è corretto non valorizzare il campo _purpose_ofuse. Rimaniamo a disposizione per ulteriori chiarimenti.
Grazie per il supporto,
per quello che riguarda il campo locality
, la struttura per la quale stiamo sviluppando l'applicativo dove può trovare il proprio codice locality?
Grazie per il supporto, per quello che riguarda il campo
locality
, la struttura per la quale stiamo sviluppando l'applicativo dove può trovare il proprio codice locality?
Buongiorno, può consultare al seguente link i codici delle diverse strutture: Anagrafi ASL e strutture e contesto demografico (salute.gov.it)
Per quello che riguarda il test per RSA indicato ad inizio ticket ho compilato il foglio accreditamento-checklist
così:
L'ho compilato seguente la guida (https://github.com/ministero-salute/it-fse-accreditamento/tree/main/Test%20Case),
è corretto? Nella colonna ESITO
è giusto che resti vuota?
Buongiorno, la colonna Esito andrebbe completata con uno dei seguenti valori:
Rimaniamo a disposizione per ulteriori chiarimenti.
Il resto dei campi sono correttamente compilati?
Le confermiamo che i campi sono correttamente valorizzati. La informiamo che può trovare le istruzioni di compilazione nello sheet Istruzioni Compilazione del file accreditamento-checklist_V8.2.xlsx:
Buongiorno provando il TEST con id 39 ho il seguente errore:
{"traceID":"0ad6e758d3a05a5c","spanID":"0ad6e758d3a05a5c","type":"/msg/jwt-validation","title":"Campo token JWT non valido.","detail":"Il campo subject_organization non è corretto","status":403,"instance":"/jwt-mandatory-field-malformed","workflowInstanceId":"UNKNOWN_WORKFLOW_ID"}
cosa dovrei mettere nel campo subject_organization?
Buon pomeriggio, il campo _subjectorganization deve contenere la descrizione dell'organizzazione che sta generando il token JWT mentre _subject_organizationid è l'id univoco ad essa associato. Ad esempio, nel caso della Regione Lazio, si avrà:
"subject_organization_id": "120"
"subject_organization": "Regione Lazio"
Quindi visto che il nostro cliente ha sede legale a Vicenza metto "Regione Veneto"?
Quindi visto che il nostro cliente ha sede legale a Vicenza metto "Regione Veneto"?
Esatto. Rimaniamo a disposizione per altri dubbi.
Buongiorno,
stiamo procedendo con i test.
Provando questo:
mi ritorna questo messaggio:
{"traceID":"7c9cf25b6aa80220","spanID":"7c9cf25b6aa80220","workflowInstanceId":"2.16.840.1.113883.2.9.2.120.4.4.2149fb78666c205ac20b9bd2d882af037f0819429c691196eaa8054488c56c20.cc481cf4e4^^^^urn:ihe:iti:xdw:2013:workflowInstanceId"}
è corretto come messaggio di risposta?
Posso considerare il test superato?
Buongiorno, la response ricevuta indica che la validazione è stata eseguita con successo. Le segnaliamo che è possibile verificare l'esito della chiamata usando il servizio di status tramite WorkflowInstanceId oppure TraceId.
Ho provato questa chiamata:
curl -X 'GET' \ 'https://modipa-val.fse.salute.gov.it/govway/rest/in/FSE/gateway/v1/status/search/7c9cf25b6aa80220' \ --cert-type P12 --cert auth.p12:*** \ -H 'Authorization:Bearer eyJ4NWMiOlsiTUlJRmdqQ0NBMnFnQXdJQkFnSVVkY25oMk1uUEpiL0pQUUl4cm9kNmcreU5lcXd3RFFZSktvWklodmNOQVFFTEJRQXdWekVuTUNVR0ExVUVBd3dlUTBFZ1RXbHVhWE4wWlhKdklHUmxiR3hoSUZOaGJIVjBaU0JVWlhOME1SOHdIUVlEVlFRS0RCWk5hVzVwYzNSbGNtOGdaR1ZzYkdFZ1UyRnNkWFJsTVFzd0NRWURWUVFHRXdKSlZEQWVGdzB5TkRBMk1qQXhOakUwTURKYUZ3MHlOekEyTWpFeE5qRTBNREZhTUlHQ01Rc3dDUVlEVlFRR0V3SkpWREVmTUIwR0ExVUVDZ3dXVFdsdWFYTjBaWEp2SUdSbGJHeGhJRk5oYkhWMFpURWZNQjBHQTFVRVlRd1dRMFk2U1ZRdFVGSlBWa0ZZTURCWU1EQllNREF3V1RFeE1DOEdBMVVFQXd3b1V6RWpNVEV4STFSRlEwaE9UMHhQUjFsSVJVRk1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osls_PWGhSeMNUFWkh-yUu-EmifNP7eHZaZ3rEecEsMoN56_ojHwYhnOFL3xH7PShPQlHrdN0cDBL_CfAlZbBzRTs9TjO64lJ6K1SJAwFVFalAfRu9ep9XUisGjMbr7Q6U9i9FUH5syORPZXkkB09MpieVR-_2nU1mbGAlFCrPMEuWybe_H5_WkyA' \ -H 'accept:application/json'
ma mi ritorna il seguente errore:
{"type":"https://govway.org/handling-errors/400/InteroperabilityInvalidRequest.html","title":"InteroperabilityInvalidRequest","status":400,"detail":"Received request is not conform to the required interoperability profile","govway_id":"c2d6ebb2-441d-11ef-a6bf-005056ae7395"}
Buon pomeriggio,
come descritto in documentazione, il servizio /status/search/<traceId>
richiede i seguenti parametri:
Pertanto, non va inserito il token FSE-JWT-Signature.
Però provando questa chiamata:
curl -k 'https://modipa-val.fse.salute.gov.it/govway/rest/in/FSE/gateway/v1/status/search/7c9cf25b6aa80220' \ -H 'Authorization: Bearer eyJ4NWMiOlsiTUlJRmdqQ0NBMnFnQXdJQkFnSVVkY25oMk1uUEpiL0pQUUl4cm9kNmcreU5lcXd3RFFZSktvWklodmNOQVFFTEJRQXdWekVuTUNVR0ExVUVBd3dlUTBFZ1RXbHVhWE4wWlhKdklHUmxiR3hoSUZOaGJIVjBaU0JVWlhOME1SOHdIUVlEVlFRS0RCWk5hVzVwYzNSbGNtOGdaR1ZzYkdFZ1UyRnNkWFJsTVFzd0NRWURWUVFHRXdKSlZEQWVGdzB5TkRBMk1qQXhOakUwTURKYUZ3MHlOekEyTWpFeE5qRTBNREZhTUlHQ01Rc3dDUVlEVlFRR0V3SkpWREVmTUIwR0ExVUVDZ3dXVFdsdWFYTjBaWEp2SUdSbGJHeGhJRk5oYkhWMFpURWZNQjBHQTFVRVlRd1dRMFk2U1ZRdFVGSlBWa0ZZTURCWU1EQllNREF3V1RFeE1DOEdBMVVFQXd3b1V6RWpNVEV4STFSRlEwaE9UMHhQUjFsSVJVRk1WRWhUV1ZOVVJVMVRSMUpQVlZCVFV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ZaZ3rEecEsMoN56_ojHwYhnOFL3xH7PShPQlHrdN0cDBL_CfAlZbBzRTs9TjO64lJ6K1SJAwFVFalAfRu9ep9XUisGjMbr7Q6U9i9FUH5syORPZXkkB09MpieVR-_2nU1mbGAlFCrPMEuWybe_H5_WkyA' \ -H 'accept:application/json'
ho questa risposta:
curl: (35) LibreSSL/3.3.6: error:1401E410:SSL routines:CONNECT_CR_FINISHED:sslv3 alert handshake failure
Nell'ultima CURL riportata è ancora presente il parametro FSE-JWT-Signature che andrebbe rimosso:
Scusate, mi era sfuggito. Ora ho modificato così:
curl -k 'https://modipa-val.fse.salute.gov.it/govway/rest/in/FSE/gateway/v1/status/search/7c9cf25b6aa80220' \ --cert-type P12 --cert auth.p12:*** \ -H 'Authorization: Bearer eyJ4NWMiOlsiTUlJRmdqQ0NBMnFnQXdJQkFnSVVkY25oMk1uUEpiL0pQUUl4cm9kNmcreU5lcXd3RFFZSktvWklodmNOQVFFTEJRQXdWekVuTUNVR0ExVUVBd3dlUTBFZ1RXbHVhWE4wWlhKdklHUmxiR3hoSUZOaGJIVjBaU0JVWlhOME1SOHdIUVlEVlFRS0RCWk5hVzVwYzNSbGNtOGdaR1ZzYkdFZ1UyRnNkWFJsTVFzd0NRWURWUVFHRXdKSlZEQWVGdzB5TkRBMk1qQXhOakUwTURKYUZ3MHlOekEyTWpFeE5qRTBNREZhTUlHQ01Rc3dDUVlEVlFRR0V3SkpWREVmTUIwR0ExVUVDZ3dXVFdsdWFYTjBaWEp2SUdSbGJHeGhJRk5oYkhWMFpURWZNQjBHQTFVRVlRd1dRMFk2U1ZRdFVGSlBWa0ZZTURCWU1EQllNREF3V1RFeE1DOEdBMVVFQXd3b1V6RWpNVEV4STFSRlEwaE9UMHhQUjFsSVJVRk1WRWhUV1ZOVVJVMVRSMUpQVlZCVFVreFlXRENDQVNJd0RRWUpLb1pJaHZjTkFRRUJCUUFEZ2dFUEFEQ0NBUW9DZ2dFQkFNNTFiSm11dlYxMjh1dTFqR3V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pc3MiOiJhdXRoOlMxIzExMSNURUNITk9MT0dZSEVBTFRIU1lTVEVNU0dST1VQU1JMWFgiLCJleHAiOjE3MjEyMDg5NDIsImlhdCI6MTcyMTIwNTM0MiwianRpIjoiMTIzNCJ9.WEtXwc1PzSDCxxuS23k8SgDoNSDQA6gCbAH1JFFasMj1abjgH2BqShoz96euTX_OCBj7PfkCvPyZSxXPEY7NPfV4sfxQQoB0xho3nNfDOX1E-wE02fWemXJmKRPFh1RWU2tld5Ilkw-PUWgXEIBh6WRay7SOnXdG4hRLXWeEPqCTD0bmtyJp3hXYQRP99-BrdMv6H5Ki_PcKpODkKT10b2kBnmx0Un1mtXyHD9dyYxn3ZisBykiORFN9zfm-9HYDgmaj_zZE61A4vD2R5UGWOFRRNGXY2XeIFYefbDXJtk4twYb7d4Nz8xsl21rxCJKQZgBGSTYe_bablnHoY2isPQ"' \ -H 'accept:application/json'
ed ho questo messaggio:
{"type":"https://govway.org/handling-errors/400/InteroperabilityInvalidRequest.html","title":"InteroperabilityInvalidRequest","status":400,"detail":"Received request is not conform to the required interoperability profile","govway_id":"87c09582-4437-11ef-8aa0-005056ae54fa"}
Sono presenti parametri inattesi nella curl: il certificato di autenticazione e i doppi apici finali nel parametro Authorization Bearer Token:
La invitiamo a effettuare le correzioni indicate e riprovare. Grazie.
Fatto, ma l'errore rimane lo stesso
Come indicato in precedenza, deve inserire solo i parametri indicati in documentazione:
Un esempio di chiamata CURL al servizio è il seguente:
Ho levato --cert-type P12 --cert /Users/costaa/GitHub/it-fse-gtw-tools/pdf-generator/auth.p12:prova \
e provato a cambiare da -k a -X 'GET' ma comunque ho lo stesso errore.
In particolare se levo --cert-type P12 --cert /Users/costaa/GitHub/it-fse-gtw-tools/pdf-generator/auth.p12:prova \
ho sempre l'errore curl: (35) LibreSSL/3.3.6: error:1401E410:SSL routines:CONNECT_CR_FINISHED:sslv3 alert handshake failure
Potrebbe cortesemente riportare l'ultima chiamata CURL con il messaggio di errore completo? Grazie.
curl -k "https://modipa-val.fse.salute.gov.it/govway/rest/in/FSE/gateway/v1/status/search/7c9cf25b6aa80220" \ --cert-type P12 --cert /Users/costaa/GitHub/it-fse-gtw-tools/pdf-generator/auth.p12:prova \ -H "Authorization: Bearer eyJ4NWMiOlsiTUlJRmdqQ0NBMnFnQXdJQkFnSVVkY25oMk1uUEpiL0pQUUl4cm9kNmcreU5lcXd3RFFZSktvWklodmNOQVFFTEJRQXdWekVuTUNVR0ExVUVBd3dlUTBFZ1RXbHVhWE4wWlhKdklHUmxiR3hoSUZOaGJIVjBaU0JVWlhOME1SOHdIUVlEVlFRS0RCWk5hVzVwYzNSbGNtOGdaR1ZzYkdFZ1UyRnNkWFJsTVFzd0NRWURWUVFHRXdKSlZEQWVGdzB5TkRBMk1qQXhOakUwTURKYUZ3MHlOekEyTWpFeE5qRTBNREZhTUlHQ01Rc3dDUVlEVlFRR0V3SkpWREVmTUIwR0ExVUVDZ3dXVFdsdWFYTjBaWEp2SUdSbGJHeGhJRk5oYkhWMFpURWZNQjBHQTFVRVlRd1dRMFk2U1ZRdFVGSlBWa0ZZTURCWU1EQllNREF3V1RFeE1DOEdBMVVFQXd3b1V6RWpNVEV4STFSRlEwaE9UMHhQUjFsSVJVRk1WRWhUV1ZOVVJVMVRSMUpQVlZCVFVreFlXRENDQVNJd0RRWUpLb1pJaHZjTkFRRUJCUUFEZ2dFUEFEQ0NBUW9DZ2dFQkFNNTFiSm11dlYxMjh1dTFqR3VzRjVXczUraWlFMkN4cVM3RngzL1UyK1dWZkQ2TlNDdStldXQrM3lYVXNQMzBEOEdmeXNkTm9xUjhCeHNZdnpSeENONkhVWFV2S3BQOFl2OXRDazhnTGhQcHdqeEVvaHByY0JuSzVwZ0JrZE15WmFaL2VHTXpZTHgxV1prMFlDUXFMTFowY1ZZdXdsN0FCVENqQzJFNk1KZ3VNTWUyUXlCbVpac1BnQkMwZjU2aFJnUHFSWHdCYzc4YjJvbERZdTBQeWFPVm5HbzBHclVQM2dENk5GS3NLV2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dG4hRLXWeEPqCTD0bmtyJp3hXYQRP99-BrdMv6H5Ki_PcKpODkKT10b2kBnmx0Un1mtXyHD9dyYxn3ZisBykiORFN9zfm-9HYDgmaj_zZE61A4vD2R5UGWOFRRNGXY2XeIFYefbDXJtk4twYb7d4Nz8xsl21rxCJKQZgBGSTYe_bablnHoY2isPQ" \ -H "accept:application/json"
messaggio d'errore:
{"type":"https://govway.org/handling-errors/400/InteroperabilityInvalidRequest.html","title":"InteroperabilityInvalidRequest","status":400,"detail":"Received request is not conform to the required interoperability profile","govway_id":"b5a555d0-443d-11ef-8aa0-005056ae54fa"}
se levo --cert-type P12 --cert /Users/costaa/GitHub/it-fse-gtw-tools/pdf-generator/auth.p12:prova \
curl: (35) LibreSSL/3.3.6: error:1401E410:SSL routines:CONNECT_CR_FINISHED:sslv3 alert handshake failure
Buon pomeriggio, Le riportiamo un esempio di chiamata del servizio di Status tramite TraceID, dove al suo interno è necessario sostituire i parametri indicati di seguito con le valorizzazioni corrette:
curl -k "https://modipa-val.fse.salute.gov.it/govway/rest/in/FSE/gateway/v1/status/search/{traceID}" --cert-type P12 --cert {cert_authentication.p12}:{password} -H "Authorization:Bearer {token_bearer}" -H 'accept:application\/json'
La invitiamo gentilmente a riprovare seguendo le indicazioni riportate, facendo attenzione a mantenere spazi ed apici come indicato. Restiamo a disposizione per ulteriore supporto. Grazie
curl -k "https://modipa-val.fse.salute.gov.it/govway/rest/in/FSE/gateway/v1/status/search/7c9cf25b6aa80220" --cert-type P12 --cert /Users/costaa/GitHub/it-fse-gtw-tools/pdf-generator/auth.p12:prova -H "Authorization:Bearer eyJ4NWMiOlsiTUlJRmdqQ0NBMnFnQXdJQkFnSVVkY25oMk1uUEpiL0pQUUl4cm9kNmcreU5lcXd3RFFZSktvWklodmNOQVFFTEJRQXdWekVuTUNVR0ExVUVBd3dlUTBFZ1RXbHVhWE4wWlhKdklHUmxiR3hoSUZOaGJIVjBaU0JVWlhOME1SOHdIUVlEVlFRS0RCWk5hVzV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dJQ1ZUcEtaYlhJREFKYkJLRmdka1NNU3FnTUw5blBvSnBCRjltOC9wQVJFdTRDVURDOUZ3b0Fua1JWWS9pUFgxU3Y5blFnZEtzV1BhOWJxcDU4eHh4VTBaSDZaZTM5YlhIMHFQUDVFVEFvMXdYVmpHS0c3TzVIVnlYM3Q1UUFLbVBneGI4QXpaOXY2dVBJYm5wV0l0aG5Rekh2dkx5S2c9PSJdLCJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJQUk9WQVgwMFgwMFgwMDBZXl5eJjIuMTYuODQwLjEuMTEzODgzLjIuOS40LjMuMiZJU08iLCJhdWQiOiJodHRwczovL21vZGlwYS12YWwuZnNlLnNhbHV0ZS5nb3YuaXQvZ292d2F5L3Jlc3QvaW4vRlNFL2dhdGV3YXkvdjEiLCJpc3MiOiJhdXRoOlMxIzExMSNURUNITk9MT0dZSEVBTFRIU1lTVEVNU0dST1VQU1JMWFgiLCJleHAiOjE3MjEyMDg5NDIsImlhdCI6MTcyMTIwNTM0MiwianRpIjoiMTIzNCJ9.WEtXwc1PzSDCxxuS23k8SgDoNSDQA6gCbAH1JFFasMj1abjgH2BqShoz96euTX_OCBj7PfkCvPyZSxXPEY7NPfV4sfxQQoB0xho3nNfDOX1E-wE02fWemXJmKRPFh1RWU2tld5Ilkw-PUWgXEIBh6WRay7SOnXdG4hRLXWeEPqCTD0bmtyJp3hXYQRP99-BrdMv6H5Ki_PcKpODkKT10b2kBnmx0Un1mtXyHD9dyYxn3ZisBykiORFN9zfm-9HYDgmaj_zZE61A4vD2R5UGWOFRRNGXY2XeIFYefbDXJtk4twYb7d4Nz8xsl21rxCJKQZgBGSTYe_bablnHoY2isPQ" -H 'accept:application\/json'
ma ho sempre il solito errore:
{"type":"https://govway.org/handling-errors/400/InteroperabilityInvalidRequest.html","title":"InteroperabilityInvalidRequest","status":400,"detail":"Received request is not conform to the required interoperability profile","govway_id":"42df4261-4443-11ef-8aa0-005056ae54fa"}
Buonasera,
Dalle analisi è emerso che il messaggio di errore InteroperabilityInvalidRequest
è stato generato dall'utilizzo di un token Bearer scaduto in data: '2024-07-17_11:35:42.000'
.
La invitiamo a riprovare la chiamata utilizzando un nuovo Bearer token e restiamo a disposizione in caso di ulteriori problemi.
Grazie
Buongiorno, presso la ditta per cui lavoro abbiamo da poco iniziato le procedure di accreditamento. Come indicato nella guida (https://github.com/ministero-salute/it-fse-accreditamento/tree/main/Test%20Case) al punto "Svolgimento dei test" viene richiesto di registrarsi al seguente link (https://ec.europa.eu/eusurvey/runner/FSE-raccolta-id-applicativo); abbiamo effettuato la registrazione ma non abbiamo ricevuto alcuna risposta. Dobbiamo aspettarci qualcosa?
Se abbiamo capito bene i dati inseriti nei campi: subject_application_id, subject_application_vendor, subject_application_version saranno poi utilizzati per la generazione del TOKEN JWT.
Grazie