Provando a fare la chiamata di esempio, lo sdi mi risponde con 500 internal server error.
Se non passo il certificato client mi da 403, quindi suppongo che il mio certificato client gli vada bene, ma non so da dove partire per investigare sul problema 500: è mai capitato a voi?
* About to connect() to testservizi.fatturapa.it port 443 (#0)
* Trying 217.175.53.96...
* Connected to testservizi.fatturapa.it (217.175.53.96) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* NSS: client certificate from file
* subject: CN=SDI-02137700395,OU=Client,OU=Fatturazione Elettronica,O=Agenzia delle Entrate,C=IT
* start date: Dec 20 17:23:39 2018 GMT
* expire date: May 31 11:26:11 2021 GMT
* common name: SDI-MIAPARTITAIVA
* issuer: CN=CA Agenzia delle Entrate,OU=Servizi Telematici,O=Agenzia delle Entrate,C=IT
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA
* Server certificate:
* subject: CN=testservizi.fatturapa.it,OU=Servizi Sicuri,O=Agenzia delle Entrate,C=IT
* start date: Feb 14 12:18:26 2017 GMT
* expire date: Feb 14 12:28:00 2020 GMT
* common name: testservizi.fatturapa.it
* issuer: CN=CA Agenzia delle Entrate,OU=Servizi Telematici,O=Agenzia delle Entrate,C=IT
> POST /ricevi_file HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
Host: testservizi.fatturapa.it
Content-type: text/xml;charset="utf-8"
Accept: text/xml
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: http://www.fatturapa.it/SdIRiceviFile/RiceviFile
Content-length: 4012
Expect: 100-continue
< HTTP/1.1 100 Continue
< HTTP/1.1 500 Internal Server Error
< Date: Mon, 24 Dec 2018 15:41:33 GMT
< X-Powered-By: Servlet/3.0
< Content-Length: 348
< Set-Cookie: LtpaToken2=##SEQUENZA##; HTTPOnly; Path=/; Domain=.fatturapa.it; HttpOnly
< Expires: Thu, 01 Dec 1994 16:00:00 GMT
< Cache-Control: no-cache="set-cookie, set-cookie2"
< Connection: close
< Content-Type: text/xml; charset=utf-8
< Content-Language: en-US
<
* Closing connection 0