Hi,
When signing a pdf with PdES -T, we started seeing this error about timestamp token which runs in AWS ECS as docker containers.
Some of the findings:
- if we run the same code on a local machine it seems to work.
- when we change the TSA to https://freetsa.org/tsr it works locally and ECS.
I was wondering if there is a way to log requests get fired during singing by gembox library. as this request we dont have much control over it.
Full exception is here:
[14:11:48 ERR] Internal error occurred while performing cryptographic operation. See inner exception for details., TraceId:bc6211972461433cb5466dde549e660d 8561677125c044569c084cccb0d27979
5/15/2023, 3:11:48 PM GMT+1 System.Security.Cryptography.CryptographicException: Internal error occurred while performing cryptographic operation. See inner exception for details. 8561677125c044569c084cccb0d27979
5/15/2023, 3:11:48 PM GMT+1 —> System.Security.Cryptography.CryptographicException: No TimeStampToken: PkiFailureInfo: 0x0 8561677125c044569c084cccb0d27979
5/15/2023, 3:11:48 PM GMT+1 — End of inner exception stack trace — 8561677125c044569c084cccb0d27979
5/15/2023, 3:11:48 PM GMT+1 at ..[T](Func`2 ) 8561677125c044569c084cccb0d27979
5/15/2023, 3:11:48 PM GMT+1 at ..( , Byte , String , String , Byte , Boolean , X509ExtensionCollection ) 8561677125c044569c084cccb0d27979
5/15/2023, 3:11:48 PM GMT+1 at GemBox.Pdf.Security.PdfTimestamper.(Byte ) 8561677125c044569c084cccb0d27979
5/15/2023, 3:11:48 PM GMT+1 at GemBox.Pdf.Security.PdfTimestamper.GetTimestampToken(Stream content) 8561677125c044569c084cccb0d27979
5/15/2023, 3:11:48 PM GMT+1 at GemBox.Pdf.Forms.PdfSigner.ComputeSignature(Stream pdfFileStream) 8561677125c044569c084cccb0d27979
5/15/2023, 3:11:48 PM GMT+1 at GemBox.Pdf.Forms.PdfSigner.n4fqvm9kg8vbg6mw7kd39av6xkw4urlh(Stream ) 8561677125c044569c084cccb0d27979
5/15/2023, 3:11:48 PM GMT+1 at .() 8561677125c044569c084cccb0d27979
5/15/2023, 3:11:48 PM GMT+1 at .() 8561677125c044569c084cccb0d27979
5/15/2023, 3:11:48 PM GMT+1 at .() 8561677125c044569c084cccb0d27979
5/15/2023, 3:11:48 PM GMT+1 at GemBox.Pdf.PdfDocument.( ) 8561677125c044569c084cccb0d27979
5/15/2023, 3:11:48 PM GMT+1 at GemBox.Pdf.PdfDocument.Save(Stream stream) 8561677125c044569c084cccb0d27979