{"id":495,"date":"2025-09-10T16:31:05","date_gmt":"2025-09-10T13:31:05","guid":{"rendered":"https:\/\/destek.narhost.com\/?p=495"},"modified":"2026-09-11T19:23:15","modified_gmt":"2026-09-11T16:23:15","slug":"lets-encrypt-alan-adlarinin-ssl-sertifikasini-toplu-uzatma","status":"publish","type":"post","link":"https:\/\/narhost.com\/destek\/lets-encrypt-alan-adlarinin-ssl-sertifikasini-toplu-uzatma\/","title":{"rendered":"Lets Encrypt Alan Adlar\u0131n\u0131n SSL Sertifikas\u0131n\u0131 Toplu Uzatma"},"content":{"rendered":"<p>Let&#8217;s Encrypt, \u00fccretsiz SSL sertifikalar\u0131 sa\u011flayarak web sitelerinin g\u00fcvenli\u011fini art\u0131r\u0131r. Ancak, SSL sertifikalar\u0131n\u0131n belirli bir s\u00fcre ge\u00e7erlili\u011fi vard\u0131r ve bu s\u00fcrenin sonunda sertifikalar\u0131n yenilenmesi gerekir. Bu i\u015flemi otomatikle\u015ftirerek zaman kayb\u0131 ya\u015famadan sertifikalar\u0131n\u0131z\u0131 her zaman ge\u00e7erli tutabilirsiniz.<\/p>\n<p>A\u015fa\u011f\u0131da, <strong>certbot<\/strong> kullanarak sunucunuzdaki b\u00fct\u00fcn alan adlar\u0131n\u0131n SSL sertifikalar\u0131n\u0131 otomatik olarak yenilemek i\u00e7in kullanabilece\u011finiz komutlar\u0131 ve a\u00e7\u0131klamalar\u0131n\u0131 bulabilirsiniz.<\/p>\n<hr \/>\n<h3><strong>SSL Sertifikalar\u0131n\u0131 Yenilemek \u0130\u00e7in Komutlar:<\/strong><\/h3>\n<ol>\n<li>\n<p><strong>Sertifikalar\u0131 Yenileme Komutu:<\/strong><\/p>\n<p>Sertifikalar\u0131n\u0131z\u0131n otomatik olarak yenilenmesini sa\u011flamak i\u00e7in a\u015fa\u011f\u0131daki komutu \u00e7al\u0131\u015ft\u0131rabilirsiniz:<\/p>\n<pre><code>\/usr\/bin\/certbot renew --quiet --agree-tos\r\n<\/code><\/pre>\n<p>veya<\/p>\n<pre><code>certbot renew --quiet --agree-tos\r\n<\/code><\/pre>\n<p>Bu komut, <strong>certbot<\/strong> arac\u0131l\u0131\u011f\u0131yla mevcut sertifikalar\u0131n yenilenmesini ba\u015flat\u0131r. Komutun anlam\u0131 \u015fu \u015fekildedir:<\/p>\n<ul>\n<li>\n<p><strong>&#8211;quiet<\/strong>: \u00c7\u0131kt\u0131y\u0131 minimumda tutarak i\u015flemi sessizce ger\u00e7ekle\u015ftirir.<\/p>\n<\/li>\n<li>\n<p><strong>&#8211;agree-tos<\/strong>: Let&#8217;s Encrypt&#8217;in kullan\u0131m \u015fartlar\u0131n\u0131 otomatik olarak kabul eder.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<hr \/>\n<ol start=\"2\">\n<li>\n<p><strong>Yenileme Durumunu Kontrol Etme:<\/strong><\/p>\n<p>Bu komut, yaln\u0131zca yenilenmesi gereken sertifikalar\u0131 kontrol eder ve yaln\u0131zca gereksiz yenileme i\u015flemleri yapmaz. Sertifikas\u0131 yenilenmeyen ya da sorunlu olan alan adlar\u0131 hakk\u0131nda rapor verir.<\/p>\n<\/li>\n<\/ol>\n<hr \/>\n<h3><strong>Cron Job ile Otomatik Yenileme Ayarlamak:<\/strong><\/h3>\n<p>Sertifikalar\u0131n\u0131z\u0131n her zaman ge\u00e7erli olmas\u0131n\u0131 sa\u011flamak i\u00e7in, bu yenileme komutunu belirli aral\u0131klarla \u00e7al\u0131\u015facak \u015fekilde <strong>cron job<\/strong> ile otomatikle\u015ftirebilirsiniz. A\u015fa\u011f\u0131daki ad\u0131mlar\u0131 takip ederek cron job ekleyebilirsiniz:<\/p>\n<ol>\n<li>\n<p><strong>Cron Job Dosyas\u0131n\u0131 D\u00fczenleyin:<\/strong><\/p>\n<pre><code>crontab -e\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Her G\u00fcn Yenileme Yapacak Cron Job Ekleyin:<\/strong><\/p>\n<p>Cron dosyas\u0131na a\u015fa\u011f\u0131daki sat\u0131r\u0131 ekleyin:<\/p>\n<pre><code>0 3 * * * \/usr\/bin\/certbot renew --quiet --agree-tos\r\n<\/code><\/pre>\n<p>Bu komut, her g\u00fcn <strong>03:00&#8217;te<\/strong> sertifikalar\u0131 otomatik olarak yenileyecektir.<\/p>\n<\/li>\n<\/ol>\n<hr \/>\n<h3><strong>Yenileme Sonras\u0131 Servis Yeniden Ba\u015flatma (Opsiyonel):<\/strong><\/h3>\n<p>Baz\u0131 durumlarda, SSL sertifikas\u0131 yenilendikten sonra web sunucusunun yeniden ba\u015flat\u0131lmas\u0131 gerekebilir. E\u011fer web sunucusu <strong>Apache<\/strong> veya <strong>Nginx<\/strong> kullan\u0131yorsa, sertifikalar\u0131n yenilenmesinin ard\u0131ndan otomatik olarak sunucuyu yeniden ba\u015flatmak i\u00e7in a\u015fa\u011f\u0131daki komutlar\u0131 ekleyebilirsiniz:<\/p>\n<ol>\n<li>\n<p><strong>Apache i\u00e7in:<\/strong><\/p>\n<pre><code>0 3 * * * \/usr\/bin\/certbot renew --quiet --agree-tos &amp;&amp; systemctl reload apache2\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>Nginx i\u00e7in:<\/strong><\/p>\n<pre><code>0 3 * * * \/usr\/bin\/certbot renew --quiet --agree-tos &amp;&amp; systemctl reload nginx\r\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<p>Bu komutlar, her g\u00fcn SSL sertifikas\u0131 yenilendikten sonra Apache ya da Nginx sunucusunu yeniden ba\u015flatacak \u015fekilde yap\u0131land\u0131r\u0131lm\u0131\u015ft\u0131r.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A\u015fa\u011f\u0131da, certbot kullanarak sunucunuzdaki b\u00fct\u00fcn alan adlar\u0131n\u0131n SSL sertifikalar\u0131n\u0131 otomatik olarak yenilemek i\u00e7in kullanabilece\u011finiz komutlar\u0131 ve a\u00e7\u0131klamalar\u0131n\u0131 bulabilirsiniz.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[27],"class_list":["post-495","post","type-post","status-publish","format-standard","hentry","category-ssl-sertifikasi","tag-ssl"],"meta_box":[],"_links":{"self":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/495","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/comments?post=495"}],"version-history":[{"count":2,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/495\/revisions"}],"predecessor-version":[{"id":788,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/495\/revisions\/788"}],"wp:attachment":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/media?parent=495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/categories?post=495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/tags?post=495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}