login about faq

The CSR created by using CkCSR is invalidate to apply for CA's certificate.

I've tried Comodo, RapidSSL, StartSSL and got the same results due to invalidate signature.

I alse copy the CSR sample post on https://example-code.com/cpp/csr_generate_key_and_signing_request.asp

There is a same error occured: invalidate signature.

asked Mar 08 at 08:39

alexli's gravatar image

alexli
11


Please let me know what operating system, and if Windows, which version of VC++ you're using. I'll create a pre-release of v9.5.0.66 for you to test. This may be a problem that was already fixed..

link

answered Mar 09 at 13:53

chilkat's gravatar image

chilkat ♦♦
12.8k317366476

Windows 10, VS2013(VC12),

Thanks

link

answered Mar 09 at 19:16

alexli's gravatar image

alexli
11

edited Mar 09 at 19:17

Hi Chilkat, I've tried just now. The result is "Signature Not Valid"

Maybe you can use this online tool to check. https://certlogik.com/decoder/

link

answered Mar 09 at 21:41

alexli's gravatar image

alexli
11

I found the problem and fixed it. It's very strange because this was working for various customers. I noticed that it was generating a signature using the little-endian byte ordering, which makes no sense because everything would normally be big-endian except historically Microsoft's Crypto API (not w.r.t. to CSR's, but with RSA in general..)

The fix was to just flip a switch from true to false within the code..

I'll rebuild, re-upload, and post the download links again when ready..

link

answered Mar 09 at 22:29

chilkat's gravatar image

chilkat ♦♦
12.8k317366476

Great! It works now. Thanks

link

answered Mar 10 at 00:16

alexli's gravatar image

alexli
11

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:

×2

Asked: Mar 08 at 08:39

Seen: 412 times

Last updated: Mar 10 at 00:16

powered by OSQA