Hi. I am using Cpanel version 11.52.0.18. I want to set up DKIM for one of my domains. I'm using the Cpanel-generated key, which I have adapted (removing extraneous " and space from the middle and \; from the end) so that it is apparently acceptable (I checked it here: Check a DKIM Core Key).
I'm using my hosting service provider's DNS servers, so I need to enter the DKIM key in their DNS management page. This won't accept the longer 2048-bit keys within a single record, so I was advised to split the key over a number of records - as I understand it these should then be concatenated into a single valid key.
This is a screenshot of the settings in the hosting service control panel:
- Removed -
Unfortunately, the result doesn't seem to add up to a valid key. The response from [email protected]25.com reads like this (I don't pretend to understand it):
And this is how the receiving server (for [email protected]25.com) sees the key (I have changed the characters & the length of the lines):
If anyone has any idea about what I might be doing wrong I'd be grateful.
I'm using my hosting service provider's DNS servers, so I need to enter the DKIM key in their DNS management page. This won't accept the longer 2048-bit keys within a single record, so I was advised to split the key over a number of records - as I understand it these should then be concatenated into a single valid key.
This is a screenshot of the settings in the hosting service control panel:
- Removed -
Unfortunately, the result doesn't seem to add up to a valid key. The response from [email protected]25.com reads like this (I don't pretend to understand it):
Code:
Result: permerror (invalid key: error reading public key: 139746777425664:error:0D07209B:asn1 encoding routines:ASN1_get_object:too long:asn1_lib.c:142:;139746777425664:error:0D068066:asn1 encoding routines:ASN1_CHECK_TLEN:bad object header:tasn_dec.c:1306:;139746777425664:error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:381:Type=X509_PUBKEY;)
And this is how the receiving server (for [email protected]25.com) sees the key (I have changed the characters & the length of the lines):
Canonicalized Body:
DNS record(s):
default._domainkey.mydomain.net. 1800 IN TXT "v=DKIM1; k=rsa; p=Mj8IhJkHuxnG1BRcUna9IhjklahnmfdaklfqggSDGSWgbpaGAgajkGUAHJfdhjklaKKCAo/"
default._domainkey.mydomain.net. 1800 IN TXT "IJaj+adowbvksdhishjeksjekacbdjsklajdlkHJKLGHJkghGYUIDFTYVHjghjiftYihjkfghjiFtyiVghkfgfgftyguiGUItDtyu/"
default._domainkey.mydomain.net. 1800 IN TXT "jklJKLhjklgyuoHJKBHJKgyhuoifgYUIFuyoGHJKgyuiFTGIhjFtyiFUighjkfgcftyuftyu+/AdkshjklaHJKghjkFGHJIFYUIuioHjGyuiftyuiftyUdrtDFjgfhjkFtyuGYuioFTYUugIOGiDTyugyUIGYUICfyuFYUIvz/"
default._domainkey.mydomain.net. 1800 IN TXT "6ajklhjk89phHUIOGYUOGyouGYUOgHJKOFGYIVHJKVHIGYGUIFT&IFYGghukg7ftuiigyuIFtyifuyiGyuioFTYUIgyugYUIGyuigyuiTFI"
If anyone has any idea about what I might be doing wrong I'd be grateful.
Last edited by a moderator: