AWS SES domain verification failure with BYODKIM

0

I've followed the docs. I've tried via the console and via the API.

Both times verification has failed.

I can get the TXT record if I do dig -t txt selector._domainkeydomain.com. The record is in GoDaddy.

How could I debug the issue further?

2개 답변
0
수락된 답변

Fixed by following the troubleshoot guide (https://docs.aws.amazon.com/ses/latest/dg/troubleshoot-dkim.html):

When attempting to set up BYODKIM, the DKIM verification process fails.

Make sure that your private key uses the right format. The private key has to be in PKCS #1 format and use either 1024 or 2048 bit RSA encryption. Additionally, the private key has to be base64 encoded.

My version is OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022) meaning, by default, I’m generating PKCS #8 keys. I’ve passed the -traditional flag to generate PKCS #1 keys.

답변함 일 년 전
0

Hello,

Few things you should consider with BYODKIM. Check the below:

  1. TXT record must be placed with the value of the public key.
  2. Value of that record must begin with "p=".
  3. Name of the record should look like this "selector._domainkey.example.com". And of course you should change the selector and the example.com.
  4. The private and the public keys must not contain any spaces or line breaks.
  5. The value of both keys must not include the beginning and the closure of the keys (-----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY-----).
  6. If you generated the keys with the 'openssl' command, then no need to encode them, as the command does the encoding itself.

If all of that does not help, then open a case with SES Premium Support.

Thanks! Mo

profile picture
Mo
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠