{"id":4385,"date":"2022-10-19T10:53:22","date_gmt":"2022-10-19T17:53:22","guid":{"rendered":"https:\/\/SUMMALAI.COM\/?p=4385"},"modified":"2022-10-19T10:55:05","modified_gmt":"2022-10-19T17:55:05","slug":"how-to-upgrade-dkim-encryption-keys-to-2048-bit","status":"publish","type":"post","link":"https:\/\/SUMMALAI.COM\/?p=4385","title":{"rendered":"How to Upgrade DKIM Encryption Keys to 2048-bit"},"content":{"rendered":"\n<p>Microsoft 365 automatically sets up DKIM for&nbsp;<em>onmicrosoft.com<\/em>&nbsp;domains. No steps are needed to use DKIM for any initial domain names (like litware.<em>onmicrosoft.com<\/em>). For more information about domains, see&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/microsoft-365\/admin\/setup\/domains-faq?view=o365-worldwide#why-do-i-have-an--onmicrosoft-com--domain\">Domains FAQ<\/a>.<\/p>\n\n\n\n<p>Since both 1024 and 2048 bitness are supported for DKIM keys, these directions will tell you how to upgrade your 1024-bit key to 2048 in&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/exchange\/connect-to-exchange-online-powershell\">Exchange Online PowerShell<\/a>. The steps below are for two use-cases, please choose the one that best fits your configuration.<\/p>\n\n\n\n<p>When you already have DKIM configured, you rotate bitness by running the following command:<br><strong>Rotate-DkimSigningConfig -KeySize 2048 -Identity<\/strong> <strong>&lt;Domain for which the configuration was set&gt;<\/strong><br>or<br>For a new implementation of DKIM, run the following command:<br><strong>New-DkimSigningConfig -DomainName <strong>&lt;Domain for which the configuration was set&gt;<\/strong> -KeySize 2048 -Enabled $true<\/strong><\/p>\n\n\n\n<p>Stay connected to Exchange Online PowerShell to\u00a0<em>verify<\/em>\u00a0the configuration by running the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><strong>Get-DkimSigningConfig -Identity &lt;Domain for which the configuration was set> | Format-List<\/strong>\n\n<\/code><\/pre>\n\n\n\n<p>Below, please see a sample<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"754\" height=\"529\" src=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/10\/DKIM1.jpg\" alt=\"\" class=\"wp-image-4386\" srcset=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/10\/DKIM1.jpg 754w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/10\/DKIM1-300x210.jpg 300w\" sizes=\"(max-width: 754px) 100vw, 754px\" \/><figcaption>Upgrade KDIM key size to 248<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"624\" height=\"304\" src=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/10\/DKIM2.jpg\" alt=\"\" class=\"wp-image-4387\" srcset=\"https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/10\/DKIM2.jpg 624w, https:\/\/SUMMALAI.COM\/wp-content\/uploads\/2022\/10\/DKIM2-300x146.jpg 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><figcaption>Verify DKIM key size<\/figcaption><\/figure>\n\n\n\n<p>&nbsp;Tip<\/p>\n\n\n\n<p>This new 2048-bit key takes effect on the RotateOnDate, and will send emails with the 1024-bit key in the interim. After four days, you can test again with the 2048-bit key (that is, once the rotation takes effect to the second selector).<\/p>\n\n\n\n<p>If you want to rotate to the second selector, after four days and confirming that 2048-bitness is in use, manually rotate the second selector key by using the appropriate cmdlet listed above.<\/p>\n\n\n\n<p>For detailed syntax and parameter information, see the following articles:&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/exchange\/rotate-dkimsigningconfig\">Rotate-DkimSigningConfig<\/a>,&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/exchange\/new-dkimsigningconfig\">New-DkimSigningConfig<\/a>, and&nbsp;<a href=\"https:\/\/learn.microsoft.com\/en-us\/powershell\/module\/exchange\/get-dkimsigningconfig\">Get-DkimSigningConfig<\/a>.<\/p>\n\n\n\n<p>Ref: https:\/\/learn.microsoft.com\/en-us\/microsoft-365\/security\/office-365-security\/use-dkim-to-validate-outbound-email?view=o365-worldwide<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft 365 automatically sets up DKIM for&nbsp;onmicrosoft.com&nbsp;domains. No steps are needed to use DKIM for any initial domain names (like litware.onmicrosoft.com). For more information about domains, see&nbsp;Domains FAQ. Since both 1024 and 2048 bitness are supported for DKIM keys, these directions will tell you how to upgrade your 1024-bit key to 2048 in&nbsp;Exchange Online PowerShell. <a class=\"read-more\" href=\"https:\/\/SUMMALAI.COM\/?p=4385\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1230,10],"tags":[1345,1346],"class_list":["post-4385","post","type-post","status-publish","format-standard","hentry","category-exchange","category-microsoft","tag-upgrade-dkim-encryption-keys-to-2048-bit","tag-upgrade-dkim-key-to-2048"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4385","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4385"}],"version-history":[{"count":2,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4385\/revisions"}],"predecessor-version":[{"id":4390,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=\/wp\/v2\/posts\/4385\/revisions\/4390"}],"wp:attachment":[{"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4385"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4385"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/SUMMALAI.COM\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4385"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}