<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ssl &#8211; Selman Tunc</title>
	<atom:link href="https://selmantunc.com.tr/tag/ssl/feed/" rel="self" type="application/rss+xml" />
	<link>https://selmantunc.com.tr</link>
	<description></description>
	<lastBuildDate>Wed, 28 Nov 2018 09:48:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://selmantunc.com.tr/wp-content/uploads/2023/07/cropped-tumblr_inline_oglumuMbgO1tyldvk_540-150x150-1-32x32.jpg</url>
	<title>ssl &#8211; Selman Tunc</title>
	<link>https://selmantunc.com.tr</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Magento 2 If you would like to SSL</title>
		<link>https://selmantunc.com.tr/uncategorized/magento-2-if-you-would-like-to-ssl/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 28 Nov 2018 09:48:41 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[magento fix]]></category>
		<category><![CDATA[Magento2]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[ssl]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2018/11/28/magento-2-if-you-would-like-to-ssl/</guid>

					<description><![CDATA[If you would like to SSL &#8211; Generate SSL Letsencrypt We will secure our Magento installation using SSL from Letsencrypt. Install the Letsencrypt using the apt command below. sudo apt&#8230;]]></description>
										<content:encoded><![CDATA[<h2><b>If you would like to SSL</b>
<br></h2>
<p><b>&#8211; Generate SSL Letsencrypt</b>
<br></p>
<p>We will secure our Magento installation using SSL from Letsencrypt. Install the Letsencrypt using the apt command below.</p>
<pre><code>sudo apt install letsencrypt -y</code></pre>
<p>After the installation is complete, stop the nginx service.</p>
<pre><code>systemctl stop nginx</code></pre>
<p>Now generate the SSL certificates for the domain name using certbot command as below.</p>
<pre><code>certbot certonly --standalone -d magento.hakase-labs.pw</code></pre>
<p>Type your email address, accept the Letsencrypt TOS, then type ‘N’ for email sharing.</p>
<p>When it’s complete, you will get the result as below.</p>
<p>The Letsencrypt SSL certificate files have been generated to the ’/etc/letsencrypt/live’ directory.</p>
<p><b>FOR SSL  Configure Nginx Virtual Host file </b></p>
<pre>upstream fastcgi_backend {
        server  unix:/run/php/php7.1-fpm.sock;
}

server {
    listen 80;
    listen [::]:80;
    server_name <a href="http://www.magento-dev.com">www.magento-dev.com</a>;
    return 301 https://$server_name$request_uri;
}

server {

        listen 443 ssl;
        server_name magento-dev.com;

        ssl on;
        ssl_certificate /etc/letsencrypt/live/magento.hakase-labs.pw/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/magento.hakase-labs.pw/privkey.pem;

        set $MAGE_ROOT /var/www/magento2;
        set $MAGE_MODE developer;
        include /var/www/magento2/nginx.conf.sample;
}</pre>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
