{"id":2207,"date":"2011-12-19T09:32:56","date_gmt":"2011-12-19T09:32:56","guid":{"rendered":"https:\/\/poiseddevelopers.com\/reality-tech\/?p=2207"},"modified":"2024-05-13T10:56:10","modified_gmt":"2024-05-13T10:56:10","slug":"secure-store-master-key-error","status":"publish","type":"post","link":"https:\/\/poiseddevelopers.com\/reality-tech\/secure-store-master-key-error\/","title":{"rendered":"Secure Store Master Key Error"},"content":{"rendered":"<p>Don\u2019t you hate mysterious, scary errors?\u00a0 How about this one?<\/p>\n<p><strong>A critical incident has occurred where the Secure Store service application errored out because the master encryption key was not found.<\/strong><\/p>\n<p>Another error:<\/p>\n<p><strong>The Microsoft Secure Store Service application Secure Store Services failed to retrieve the master secret key.\u00a0 The error returned was: \u2018Unable to obtain master key.<\/strong><\/p>\n<p>While obscure, this was easily solved. It seems the Secure Store Service encrypts the database of credentials.\u00a0 When a new server joins the farm, it doesn\u2019t yet have the decryption key.\u00a0 Hence the above error occurs when the\u00a0<strong>Secure Store Service<\/strong>\u00a0is started on the newly joined farm server.<\/p>\n<p>To fix it, in Central Admin, go to the Manage Service Applications, select Secure Store Service and click on \u201cRefresh Key\u201d.\u00a0 This propagates the key to all servers.<\/p>\n<p>I did a Generate New Key for good measure, requiring a Passphrase (entered twice, of sufficient complexity).<\/p>\n<p>I waited a minute for it to propagate, and started the service on the server, and checked ULS logs to confirm all was well in my happy farm.<\/p>\n<p>With my small set of Secure Store Application IDs (ten or so) my Secure Store database size was around 11MB, comparatively tiny.<\/p>\n<p>Then again, how much space could a dozen credentials take up?<\/p>\n<p><strong>Additional Read<\/strong><\/p>\n<ul>\n<li><a style=\"color: #1f6799;\" href=\"https:\/\/reality-tech.com\/why-you-should-use-sharepoint-for-document-management-system\/\" target=\"_blank\" rel=\"noopener\" aria-label=\"Why You Should Use SharePoint for Document Management System - open in a new tab\" data-uw-rm-ext-link=\"\">Why You Should Use SharePoint for Document Management System<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Don\u2019t you hate mysterious, scary errors?\u00a0 How about this one? A critical incident has occurred where the Secure Store service application errored out because the master encryption key was not found. Another error: The Microsoft Secure Store Service application Secure Store Services failed to retrieve the master secret key.\u00a0 The error returned was: \u2018Unable to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":2210,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[47],"tags":[],"class_list":["post-2207","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security"],"acf":[],"_links":{"self":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts\/2207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/comments?post=2207"}],"version-history":[{"count":5,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts\/2207\/revisions"}],"predecessor-version":[{"id":3972,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/posts\/2207\/revisions\/3972"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/media\/2210"}],"wp:attachment":[{"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/media?parent=2207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/categories?post=2207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/poiseddevelopers.com\/reality-tech\/wp-json\/wp\/v2\/tags?post=2207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}