{"id":182,"date":"2021-05-19T10:29:42","date_gmt":"2021-05-19T15:29:42","guid":{"rendered":"https:\/\/tech.my-netsol.com\/?p=182"},"modified":"2021-05-19T10:29:42","modified_gmt":"2021-05-19T15:29:42","slug":"change-expiration-date-of-certificates-issued-by-ca","status":"publish","type":"post","link":"https:\/\/tech.my-netsol.com\/?p=182","title":{"rendered":"Change expiration date of certificates issued by CA"},"content":{"rendered":"\n<p>To change the validity period settings for a CA, follow these steps.<\/p>\n\n\n\n<p>Important<\/p>\n\n\n\n<p>This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, see <a href=\"https:\/\/support.microsoft.com\/help\/322756\">How to back up and restore the registry in Windows<\/a>.<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Click <strong>Start<\/strong>, and then click <strong>Run<\/strong>.<\/li><li>In the <strong>Open<\/strong> box, type <em>regedit<\/em>, and then click <strong>OK<\/strong>.<\/li><li>Locate, and then click the following registry key: <code>HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\\CertSvc\\Configuration\\&lt;CAName&gt;<\/code><\/li><li>In the right pane, double-click <strong>ValidityPeriod<\/strong>.<\/li><li>In the <strong>Value data<\/strong> box, type one of the following, and then click <strong>OK<\/strong>:<ul><li>Days<\/li><li>Weeks<\/li><li>Months<\/li><li>Years<\/li><\/ul><\/li><li>In the right pane, double-click <strong>ValidityPeriodUnits<\/strong>.<\/li><li>In the <strong>Value data<\/strong> box, type the numeric value that you want, and then click <strong>OK<\/strong>. For example, type <em>2<\/em>.<\/li><li>Stop, and then restart the Certificate Services service. To do so:<ol><li>Click <strong>Start<\/strong>, and then click <strong>Run<\/strong>.<\/li><li>In the <strong>Open<\/strong> box, type <em>cmd<\/em>, and then click <strong>OK<\/strong>.<\/li><li>At the command prompt, type the following lines. Press ENTER after each line. Console<\/li><\/ol><\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>net stop certsvc\nnet start certsvc\n<\/code><\/pre>\n\n\n\n<p>Type exit to quit Command Prompt.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To change the validity period settings for a CA, follow these steps. Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry &#8230; <a title=\"Change expiration date of certificates issued by CA\" class=\"read-more\" href=\"https:\/\/tech.my-netsol.com\/?p=182\" aria-label=\"Read more about Change expiration date of certificates issued by CA\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[13,4],"tags":[],"class_list":["post-182","post","type-post","status-publish","format-standard","hentry","category-msos","category-ssl"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=\/wp\/v2\/posts\/182","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=182"}],"version-history":[{"count":0,"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=\/wp\/v2\/posts\/182\/revisions"}],"wp:attachment":[{"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.my-netsol.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}