I'm trying to complete a entire process of request/verify of a trusted timestamp. I'm working with a TSA server and i'm able to create a valid timestamp request. I know that it's valid because tsa owner has a webpage dedicated to the timestamping request validation. Anyway i have to do this process programmatically, so i'm using openssl to verify:
openssl ts -verify -queryfile request.tsq -in result.tsr -CAfile tsaownercert.pem
this command produce always:
TS_VERIFY_CERT:certificate verify error:unable to get local issuer certificate
I'm working local with Mamp but also online in a CentOs server the behaviour is the same.
- Files involved in command are reachables.
tsaownercert.pem
is a certificate i get from the tsa owner, they sayd "it is the certificate in wich the timestamp are signed"
Maybe i have to do some kind of installation of the certificate in the system to make it available ? How i can do it in Mamp and i how in the server ?