login about faq

We upgraded our application from .net 3.5 to 4.5. So we altough changed from ChilkatDotNet2.dll (9.3.2.0) to ChilkatDotNet45.dll (9.4.1.0). Now every call of the property SignatureVerified returns false. The property TrustedRoot is false too. If we run the old Version of the program (.net 35) everything works fine. The program runs on W2K8R2-machine with all updates / patches. On my Win7x64 developer-machine I could not reproduce the failure. Any idea? Could you please help.

asked Aug 09 '13 at 10:28

Michael17's gravatar image

Michael17
1111


LastErrorText? I would need more information than simply "SignatureVerified returns false"...

link

answered Aug 09 '13 at 11:56

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Here is the LastErrorText (or not) Chilkat.Cert.LastErrorText: ChilkatLog: Rfc822Name: DllDate: Jul 9 2013 ChilkatVersion: 9.4.1.26 UnlockPrefix: PRFUNGSMIME Username: xxx Architecture: Little Endian; 64-bit Language: .NET 4.5 / x64 VerboseLogging: 0 --Rfc822Name --ChilkatLog Chilkat.Cert.LastErrorText (Ende).

There is no error or exception. The value of the property SignatureVerified is just false and that is not correct. The signature is valid, the certificate chain is complete. In the .net 3.5 version of the program the property has the correct value true.

(Aug 12 '13 at 03:16) Michael17

1) Please use <pre> tags to make the LastErrorText readable.

2) Please understand the basic concepts and idea for LastErrorText. Read this: http://www.cknotes.com/?p=423

3) You've provided me with the LastErrorText for the Cert object where the last method called or property accessed was Rfc822Name. This does not help. I would need to see the LastErrorText for the method call where the signature verification actually takes place.

link

answered Aug 12 '13 at 10:42

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

ok next try:

chilkatCert.LastErrorText:
ChilkatLog:
  SignatureVerified:
    DllDate: Jul  9 2013
    ChilkatVersion: 9.4.1.26
    UnlockPrefix: 
    Username: 
    Architecture: Little Endian; 64-bit
    Language: .NET 4.5 / x64
    VerboseLogging: 1
    Initializing certificate validity info.....
    calling CertCreateCertificateChainEngine...
    WindowsError: Falscher Parameter.
    WindowsErrorCode: 0x80070057
    signatureVerified: 0
  --SignatureVerified
--ChilkatLog

(Aug 14 '13 at 10:04) Michael17
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×48
×21
×5

Asked: Aug 09 '13 at 10:28

Seen: 1,367 times

Last updated: Aug 14 '13 at 10:04

powered by OSQA