Ciao a tutti,
sto cercando di ottenere il
certificato per il dispositivo mobile inviando il file xml di richiesta con il comando:
curl -v -k -X POST --header 'Content-Type application/xml' 'https://apid-ivaservizi.agenziaentrate.gov.it/v1/dispositivi/' --data-binary @test2.xml_signed --verbose
Mi ritorna la seguente stringa:
Note: Unnecessary use of -X or --request, POST is already inferred.
* Trying 217.175.50.83...
* Connected to apid-ivaservizi.agenziaentrate.gov.it (217.175.50.83) port 443 (#0)
* found 148 certificates in /etc/ssl/certs/ca-certificates.crt
* found 597 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification SKIPPED
* server certificate status verification SKIPPED
* common name: apid-ivaservizi.agenziaentrate.gov.it (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: C=IT,O=Agenzia delle Entrate,OU=Servizi Sicuri,CN=apid-ivaservizi.agenziaentrate.gov.it
* start date: Thu, 09 Jun 2016 09:25:17 GMT
* expire date: Sun, 09 Jun 2019 09:35:00 GMT
* issuer: C=IT,O=Agenzia delle Entrate,OU=Servizi Telematici,CN=CA Agenzia delle Entrate
* compression: NULL
* ALPN, server did not agree to a protocol
> POST /v1/dispositivi/ HTTP/1.1
> Host: apid-ivaservizi.agenziaentrate.gov.it
> User-Agent: curl/7.47.0
> Accept: */*
> Content-Length: 4380
> Content-Type: application/x-www-form-urlencoded
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
< X-Note: Gateway Ack
* We are completely uploaded and fine
< HTTP/1.1 415 Processed
< X-Backside-Transport: FAIL FAIL
< Connection: Keep-Alive
< Transfer-Encoding: chunked
< Date: Tue, 08 May 2018 08:58:50 GMT
< X-Powered-By: Servlet/3.0
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Methods: GET, POST, DELETE, PUT
< Access-Control-Allow-Headers: Content-Type
< Content-Language: en-US
< Set-Cookie: LtpaToken2=ANzeh6vqRAVW0ZXXZoTrYPIqqSXUzq4jeQLrQ8w/B2GLFC5zz1yJ77IvRGRkzRXwBHJDwLmReZQdTFelABHl9OXvuqXo2bHLlIMJxy+wjERpNtC2vNQ0SjV3IB3rs8cX6JUhcWPHRPifT34S4+OTE6p//sI/k2+BzLXIX+5AUzU3frR5oJwm9xFbPSpYUoaeKzfe5P+4/kSi6b7A/h3zfLMY9a5VCtP3RSblbYQcf7SsvYN6J6t1gmaLaOfjfVZ0FF4U2J22oBhYH0KCRiHPY7fq5fkc59rDiT/JwnqxNvvNqJZ9+Ki7eoykO7Lz5/Z7mnT0psK7RWExrAc3qNXI9SiQcrhdnFchLX9g+A6x3NXZhAFw6qbHnTnM4VEoRCTWVCjdrXgpARHDDN2gVMzaGQ==
< X-Global-Transaction-ID: 1913775327
< Content-Type: text/xml
<
* Connection #0 to host apid-ivaservizi.agenziaentrate.gov.it left intact
... penso che il contenuto del file XML sia ok, perché se provo a cambiare qualcosa mi ritorna l'errore 0 ... leggendo nei messaggi di questo thread non sono riuscito a capire se qualcuno ha affrontato/risolto questo problema ...
Grazie mille