mirror of
https://github.com/Pro/dkim-exchange.git
synced 2026-04-25 08:55:52 +03:00
[GH-ISSUE #121] Verify private key in DKIM configurator #97
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @matbech on GitHub (Jan 3, 2016).
Original GitHub issue: https://github.com/Pro/dkim-exchange/issues/121
Originally assigned to: @Pro on GitHub.
The configuration should verify the private key file (.pem) assigned to each domain. This helps identifying incorrect private key as early as possible and prevents possible crashes in the DKIM transport agents later.
@Pro commented on GitHub (Jan 3, 2016):
The configurator already checks for valid private keys (see https://github.com/Pro/dkim-exchange/blob/master/Src/Configuration.DkimSigner/MainWindow.cs#L961). The check is performed when you use the
Select key filebutton.This is exactly the same parser/code which the signer uses.
Can you make sure that you are using the 3.0.0-beta version of the configurator. Does it show any error message?
@matbech commented on GitHub (Jan 3, 2016):
Yes I'm using the configurator from 3.0.0-beta and no error is displayed after I selected the private key with the select button.
@Pro commented on GitHub (Jan 3, 2016):
Ok, can you try out the newly compiled dll from here:
https://github.com/Pro/dkim-exchange/tree/master/Src/Exchange.DkimSigner/bin
Download all the files in the corresponding directory for your Exchange server. Then copy the files to
C:\Program Files\Exchange DKIM\and replace if asked. (You may need to stop theMicrosoft Exchange Transportservice to be able to overwrite them).Then, when you start the Transport service, do you see any error in the Event Log?
@matbech commented on GitHub (Jan 3, 2016):
"Could not initialize MimeKit DkimSigner for domain abcd.com: Private key not found."
The private key file has been selected in the configurator and is located at:
C:\Program Files\Exchange DkimSigner\keys\abcd.com.pem
The settings.xml:
@Pro commented on GitHub (Jan 3, 2016):
The check expected the wrong PEM key format. It should now be fixed.
Please try again and let me know if there are any errors:
https://github.com/Pro/dkim-exchange/tree/master/Src/Exchange.DkimSigner/bin