Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Sunday, July 26, 2015 6:25:56 PM(UTC)

Rank: Newbie

Groups: Registered
Joined: 7/26/2015(UTC)
Posts: 1

I'm using the application with IIS on Windows Server 2012 R2 but I get the following error for every mail :
[Error] - BeginSignHash - Invalid provider type specified.
NativeErrorCode: -2146893804 DKIM Begin Sign Hash

I'm using a .pfx file with a 1024-bit RSA key.

Instead of using a .pfx file it would also be a good idea to allow the selection of a certificate which is already present in the local machine certificate store? This is also more secure since the certificate password doesn't have to be stored and the certificate can be imported into the store with the "allow export" option set to false.

Update: An additional error is logged when I select sha256 instead of sha1:
[Error] - BeginSignHash - Invalid provider type specified.
NativeErrorCode: -2146893804 SHA256 is not supported; Try SHA1 Now

The problem is most likely coming from a call to
which fails and the last error is: NTE_BAD_PROV_TYPE (-2146893804) which is then reported.

Maybe you want to use BCrypt (BCryptCreateHash et al) on Windows Vista+ instead:

Edited by user Sunday, July 26, 2015 9:55:35 PM(UTC)  | Reason: Not specified

#2 Posted : Tuesday, July 28, 2015 5:51:36 PM(UTC)

Rank: Administration

Groups: Administrators
Joined: 11/11/2010(UTC)
Posts: 1,141

Thanks: 9 times
Was thanked: 54 time(s) in 54 post(s)
Hi, Euclid

That is because the pfx was generated by CNG (Cryptography API: Next Generation), current version doesn't support this pfx type.

Current solution is: creating pfx file by DKIM Manager.
We are working on the CNG and machine key storage, once it is done, we will release a new version.

Thank you very much.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2023, Yet Another Forum.NET
This page was generated in 0.317 seconds.


© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.