Our TSA recently upgraded their TSA servers, but this is causing the "Conflicting signing certificate attributes present" error to occur when we attempt to Digitally Sign and Timestamp our PDFs (using C# code).
If I used the TSA's old server or SignFiles test server, then everything works as expected, but once I switch to the new server, then issues occur.
We are using SignFiles which looks to be a simple wrapper around BouncyCastle. The error occurs within the Bouncy Castle "Validate(...)" method.
I believe the error is happening as a result of the highlighted calls below.
BouncyCastle Code - Validate(...) where error happens
At this point, I am a bit lost as I do not know what values the above code is checking, but I am thinking it might be the "Enhanced Key Usage" values.
If yes, then I see the following differences between the old Timestamp (left side) and the new one that does not work (right).
Working and Non-Working Certificates Returned by TSA
Can anyone advise if this is the correct values that it is checking?
Can anyone advise why this error is happening and if its something that the TSA can correct within their settings and how the Timestamp is generated OR does Bouncy Castle need to be updated to work with new TSA servers?
We are continuing to use the legacy servers, but need to get this fixed to take advantage of the new faster servers.
I only found one other question regarding this at: http://bouncy-castle.1462172.n4.nabble.com/Time-Stamp-with-both-SigningCertificate-and-SigningCertificateV2-td3457605.html
Thank you,
Rob