Hi,
I'm trying to create a simple TSP server for use with Acrobat 9 Pro Extended, but it seems Acrobat does not 'recognize' my responses.
Here's what I'm trying to do:
1. Upon receiving the request, I strip [i]Content-Length[/i] bytes from the end of the request, which looks like a DER-encoded request.
2. Send the DER-encoded request to the timestamp generator (now it's on my own machine, but will later be a HSM), get response back.
3. Get the DER-encoded version of the response and append it to a HTTP 1.1 response built like this:
HTTP/1.1 200 OK Content-Type: application/timestamp-reply Content-Length: 1756 (DER-encoded response...)
I've also tried to make the response like:
HTTP/1.1 200 OK Server: Makeshift TS_Server Keep-Alive: timeout=5, max=100 Date: Wed, 03 Sep 2008 17:40:37 GMT Connection: Keep-Alive Content-Length: 1756 Content-Type: application/timestamp-reply (DER-encoded response...)
But Acrobat doesn't seem to accept any of them, it simply says something like "Transaction timed out" after trying 3 times.
If someone needs/wants to take a look at the request/response, I've uploaded them here: http://www.inf.ufsc.br/~kas/ts/ , the .tsq and .tsr files.
I hope someone can point me to some direction here, I'm quite lost.
TIA,
Khristian.
They also have a public server and you might be able to compare what you are sending with what it sends. There may be other servers you can also try.
Acrobat supports RFC 3161 TSP compliant time stamp servers.
Also, if you are using a non-default port, make sure any firewalls are not blocking that port as this can cause confusing problems.