{"id":8705,"date":"2019-12-08T09:54:31","date_gmt":"2019-12-08T04:24:31","guid":{"rendered":"https:\/\/www.hiddentechies.com\/blog\/?p=8705"},"modified":"2020-10-09T19:06:31","modified_gmt":"2020-10-09T13:36:31","slug":"magento-2-change-encryption-key","status":"publish","type":"post","link":"https:\/\/www.hiddentechies.com\/blog\/magento\/magento-2-change-encryption-key\/","title":{"rendered":"How to Change the Encryption Key in Magento 2 | HiddenTechies"},"content":{"rendered":"<p>In this article we&#8217;ll show you, how to Change the Encryption Key in Magento 2. Follow this simple guideline&#8230;<\/p>\n<p><strong>Step 1: Make the File Writable<\/strong><\/p>\n<p>To change the encryption key, make sure that the following file is writable: [your store root directory]\/app\/etc\/env.php<\/p>\n<p><strong>Step 2: Get Started<\/strong><\/p>\n<p>Login into Magento Admin Panel and from sidebar go to, System &gt; Other Settings &gt; Manage Encryption Key.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8706\" src=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/12\/Step-1-1-1024x480.png\" alt=\"How to Change the Encryption Key in Magento 2\" width=\"676\" height=\"317\" srcset=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/12\/Step-1-1-1024x480.png 1024w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/12\/Step-1-1-300x141.png 300w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/12\/Step-1-1-768x360.png 768w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/12\/Step-1-1-800x375.png 800w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/12\/Step-1-1.png 1348w\" sizes=\"(max-width: 676px) 100vw, 676px\" \/><\/p>\n<p><strong>Step 3: Change Encryption Key<\/strong><\/p>\n<p>Do the following:<\/p>\n<ul>\n<li>To generate a new key, set Auto-generate Key to Yes.<\/li>\n<li>To use a different key, set Auto-generate Key to No. Then in the New Key field, enter or paste the key that you want to use.<\/li>\n<\/ul>\n<p>Click Change Encryption Key.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-8707\" src=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/12\/Step-2-1-1024x355.png\" alt=\"How to Change the Encryption Key in Magento 2\" width=\"676\" height=\"234\" srcset=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/12\/Step-2-1-1024x355.png 1024w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/12\/Step-2-1-300x104.png 300w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/12\/Step-2-1-768x266.png 768w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/12\/Step-2-1-800x277.png 800w, https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/2019\/12\/Step-2-1.png 1231w\" sizes=\"(max-width: 676px) 100vw, 676px\" \/><\/p>\n<p>Yeah Done! Let us know in the comment section below if you have any question. We are happy \ud83d\ude42 to help you! Check out <a href=\"https:\/\/www.hiddentechies.com\/blog\/tag\/best-magento-tutorials\/\" target=\"_blank\" rel=\"noopener noreferrer\">Best Magento Tutorials<\/a> here!<\/p>\n<div class=\"angwp_12010 _ning_cont _ning_hidden _ning_outer _align_center responsive\" data-size=\"custom\" data-bid=\"12010\" data-aid=\"0\" style=\"max-width:800px; width:100%;height:inherit;\"><div class=\"_ning_label _left\" style=\"\"><\/div><div class=\"_ning_inner\" style=\"\"><a href=\"https:\/\/www.hiddentechies.com\/blog?_dnlink=12010&t=1775825489\" class=\"strack_cli _ning_link\" target=\"_blank\">&nbsp;<\/a><div class=\"_ning_elmt\"><img decoding=\"async\" src=\"https:\/\/www.hiddentechies.com\/blog\/wp-content\/uploads\/angwp\/items\/12010\/Banner-2.png\" \/><\/div><\/div><\/div><div class=\"clear\"><\/div>","protected":false},"excerpt":{"rendered":"<p>In this article we&#8217;ll show you, how to Change the Encryption Key in Magento 2. Follow this simple guideline&#8230; Step 1: Make the File Writable To change the encryption key, make sure that the following file is writable: [your store root directory]\/app\/etc\/env.php Step 2: Get Started Login into Magento Admin Panel and from sidebar go&#8230; <\/p>\n<div class=\"actions\"><a href=\"https:\/\/www.hiddentechies.com\/blog\/magento\/magento-2-change-encryption-key\/\">Continue Reading<\/a><\/div>\n","protected":false},"author":1,"featured_media":8708,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,181,59,2138],"tags":[729,9,10],"_links":{"self":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/8705"}],"collection":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/comments?post=8705"}],"version-history":[{"count":3,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/8705\/revisions"}],"predecessor-version":[{"id":11260,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/8705\/revisions\/11260"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/media\/8708"}],"wp:attachment":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/media?parent=8705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/categories?post=8705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/tags?post=8705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}