{"id":742,"date":"2022-09-05T10:52:07","date_gmt":"2022-09-05T10:52:07","guid":{"rendered":"https:\/\/sunucucozumleri.com\/?p=742"},"modified":"2024-02-08T01:17:53","modified_gmt":"2024-02-07T22:17:53","slug":"centos-nginx-server-lets-encrypt-ssl-kurulumu","status":"publish","type":"post","link":"https:\/\/sunucucozumleri.com\/blog\/centos-nginx-server-lets-encrypt-ssl-kurulumu\/","title":{"rendered":"CentOS Nginx Server Let\u2019s Encrypt SSL Kurulumu"},"content":{"rendered":"<p>Bu makalemizde, SSL \/ TLS mod\u00fcl\u00fc ile <a href=\"https:\/\/sunucucozumleri.com\/blog\/080-nginx-reverse-proxy-nasil-kurulur\/\">Nginx<\/a> web sunucusuna Let&#8217;s Encrypt SSL&#8217;in kurulumuna deyinece\u011fiz.<br \/>\nCentOS \/ RHEL 7\/6 ve Fedora da\u011f\u0131t\u0131m\u0131nda\u00a0<strong>Nginx web sunucusu<\/strong>\u00a0HTTP i\u015flemlerini g\u00fcven alt\u0131na almak i\u00e7in SSL gereklidir. Chrome 56 ile<\/p>\n<p>31 Ocak tarihinde, Chrome web taray\u0131c\u0131s\u0131n\u0131n 56. s\u00fcr\u00fcm\u00fc kararl\u0131 hale gelecek, SSL kullanmayan web sitelerinin g\u00f6r\u00fcnt\u00fclenme bi\u00e7iminde \u00f6nemli bir de\u011fi\u015fiklik olacakt\u0131r. Bu de\u011fi\u015fiklik sitenizi ziyaret eden ki\u015fileri \u015fa\u015f\u0131rtabilir veya SSL kulanm\u0131yorsan\u0131z sizi \u015fa\u015f\u0131rtabilir.<\/p>\n<p>Bu ayki Chrome 56 s\u00fcr\u00fcm\u00fcyle ba\u015flayarak, HTTPS \u00e7al\u0131\u015ft\u0131rmayan herhangi bir web sitesinde, \u015fifre veya kredi kart\u0131 toplayan sayfalarda &#8220;G\u00fcvenli De\u011fil&#8221; yazan bir konum \u00e7ubu\u011funda bir mesaj g\u00f6r\u00fcnecektir. \u015e\u00f6yle g\u00f6r\u00fcnecektir:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wordfence.com\/wp-content\/uploads\/2017\/01\/blog-image-1-1024x401.png\" alt=\"Chrome 56 SSL\" width=\"1024\" height=\"401\" title=\"\"><br \/>\n<img decoding=\"async\" src=\"https:\/\/image.prntscr.com\/image\/2fd72b9a1c614c7fb85db6bfa9b466d5.png\" alt=\"Chrome 56 SSL G\u00fcvenli Uyar\u0131s\u0131\" width=\"1169\" height=\"195\" title=\"\"><\/p>\n<p>RHEL \/ CentOS 7\/6 ve Fedora i\u015fletim sistemleri Nginx Web Sunucusu, SSL kurulumu i\u00e7in a\u015fa\u011f\u0131daki ad\u0131mlar\u0131 uygulamam\u0131z gerekmektedir.<\/p>\n<p><strong>Dikkat Edilmesi Gereken Noktalar<\/strong><br \/>\n1- Kurulum yap\u0131lacak olan alanad\u0131 veya alt alan ad\u0131 i\u00e7in A kayd\u0131n\u0131n do\u011fru yap\u0131land\u0131r\u0131ld\u0131\u011f\u0131ndan emin olunuz.<\/p>\n<p>Nginx Web Server Kural\u0131m<\/p>\n<pre>yum install epel-release -y\r\nyum install nginx -y\r\n<\/pre>\n<p>Git mod\u00fcl\u00fcn\u00fc kural\u0131m ve Let&#8217;s Encrypt i\u00e7in gerekli dosyalar\u0131 \u00e7ekelim.<\/p>\n<pre>yum install git -y\r\ncd \/opt\r\ngit clone https:\/\/github.com\/letsencrypt\/letsencrypt\r\n<\/pre>\n<p>SSL Sertifikam\u0131z\u0131 olu\u015ftural\u0131m.<\/p>\n<pre>service nginx stop \r\nsystemctl stop nginx \r\nss -tln \r\n\r\ncd \/opt \r\n.\/letsencrypt-auto certonly --standalone -d your_domain.tld -d www.yourdomain.tld \r\n\r\nSSL y\u00fcklenmi\u015f mi kontrol edelim.\r\n \r\nsudo ls \/etc\/letsencrypt\/live\/ \r\nsudo ls -al \/etc\/letsencrypt\/live\/your_domain.tld \r\n<\/pre>\n<p>\u015eimdi ise s\u0131radaki i\u015flemimiz NGINX.CONF dosyas\u0131n\u0131 d\u00fczenlemek olacakt\u0131r.<\/p>\n<pre>nano -w \/etc\/nginx\/nginx.conf  \r\n# SSL configuration\r\nlisten 443 ssl default_server; \r\nssl_certificate \/etc\/letsencrypt\/live\/your_domain.tld\/fullchain.pem;\r\nssl_certificate_key \/etc\/letsencrypt\/live\/your_domain.tld\/privkey.pem;\r\nssl_protocols TLSv1 TLSv1.1 TLSv1.2;\r\nssl_prefer_server_ciphers on;\r\nssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';<\/pre>\n<p>&nbsp;<\/p>\n<pre>systemctl <a href=\"https:\/\/sunucucozumleri.com\/blog\/reboot-ve-restart-arasindaki-farklar-nedir\/\">restart<\/a> nginx<\/pre>\n<pre>service nginx restart<\/pre>\n<pre><\/pre>\n<p>SSL&#8217;i https:\/\/www.ssllabs.com\/ssltest\/analyze.html adresinden test edebilirsiniz.<\/p>\n<p>Bu makale ile ilgili olarak en \u00e7ok aranan kelimeler a\u015fa\u011f\u0131daki gibidir.<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Makale \u0130\u00e7eri\u011fi<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"\u0130\u00e7indekiler Tablosunu A\u00e7\/Kapat\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/sunucucozumleri.com\/blog\/centos-nginx-server-lets-encrypt-ssl-kurulumu\/#Setting_Up_HTTPS_with_Lets_Encrypt_SSL_Certificate_For_Nginx_on_RHELCentOS_76\" >Setting Up HTTPS with Let\u2019s Encrypt SSL Certificate For Nginx on RHEL\/CentOS 7\/6<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/sunucucozumleri.com\/blog\/centos-nginx-server-lets-encrypt-ssl-kurulumu\/#How_To_Install_LetsEncrypt_SSL_With_Nginx_on_CentOS\" >How To Install LetsEncrypt SSL With Nginx on CentOS<\/a><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"Setting_Up_HTTPS_with_Lets_Encrypt_SSL_Certificate_For_Nginx_on_RHELCentOS_76\"><\/span>Setting Up HTTPS with Let\u2019s Encrypt SSL Certificate For Nginx on RHEL\/CentOS 7\/6<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<h1><span class=\"ez-toc-section\" id=\"How_To_Install_LetsEncrypt_SSL_With_Nginx_on_CentOS\"><\/span>How To Install LetsEncrypt SSL With Nginx on CentOS<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<div>How To Install LetsEncrypt SSL With Nginx on CentOS 6<br \/>\nSimple steps for setting up Let&#8217;s Encrypt in NginX server<\/div>\n<p>Setup Let&#8217;s encrypt SSL for your domains \u2013 Centos 6 &amp; 7<\/p>\n<p>Bol trafikli g\u00fcnler dileriz.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bu makalemizde, SSL \/ TLS mod\u00fcl\u00fc ile Nginx web sunucusuna Let&#8217;s Encrypt SSL&#8217;in kurulumuna deyinece\u011fiz. CentOS \/ RHEL 7\/6 ve Fedora da\u011f\u0131t\u0131m\u0131nda\u00a0Nginx web sunucusu\u00a0HTTP i\u015flemlerini g\u00fcven alt\u0131na almak i\u00e7in SSL gereklidir. Chrome 56 ile 31 Ocak tarihinde, Chrome web taray\u0131c\u0131s\u0131n\u0131n 56. s\u00fcr\u00fcm\u00fc kararl\u0131 hale gelecek, SSL kullanmayan web sitelerinin g\u00f6r\u00fcnt\u00fclenme bi\u00e7iminde \u00f6nemli bir de\u011fi\u015fiklik olacakt\u0131r. &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1456,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-742","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux"],"acf":[],"_links":{"self":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/posts\/742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/comments?post=742"}],"version-history":[{"count":0,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/posts\/742\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/media\/1456"}],"wp:attachment":[{"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/media?parent=742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/categories?post=742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunucucozumleri.com\/blog\/wp-json\/wp\/v2\/tags?post=742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}