<?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>DOCS Archives - WP Encryption</title>
	<atom:link href="https://wpencryption.com/category/docs/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>WordPress SSL Plugin</description>
	<lastBuildDate>Wed, 12 Jan 2022 18:39:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://wpencryption.com/wp-content/uploads/2020/04/cropped-icon-512-32x32.png</url>
	<title>DOCS Archives - WP Encryption</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to install SSL for OpenLightSpeed server &#8211; WordPress</title>
		<link>https://wpencryption.com/install-ssl-for-openlightspeed-server/</link>
		
		<dc:creator><![CDATA[wp_encryption]]></dc:creator>
		<pubDate>Thu, 03 Sep 2020 12:54:04 +0000</pubDate>
				<category><![CDATA[DOCS]]></category>
		<category><![CDATA[OpenLightSpeed]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[HTTPS]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[webadmin]]></category>
		<guid isPermaLink="false">https://wpencryption.com/?p=504</guid>

					<description><![CDATA[<p>Installing an SSL certificate generated with help of WP Encryption WordPress plugin on OpenLightSpeed server webadmin is super easy</p>
<p>The post <a href="https://wpencryption.com/install-ssl-for-openlightspeed-server/">How to install SSL for OpenLightSpeed server &#8211; WordPress</a> appeared first on <a href="https://wpencryption.com">WP Encryption</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>First of all, generate SSL certificate easily with <strong><a href="https://wordpress.org/plugins/wp-letsencrypt-ssl/" target="_blank" rel="noreferrer noopener">WP Encryption</a></strong> WordPress plugin. Then follow the simple instructions provided below:</p>



<ol class="wp-block-list"><li>Login to your OpenLightSpeed <strong>webadmin</strong> Ex: <em>domain.com:7080</em></li><li>Go to <strong>Listeners</strong> page</li><li>Edit the <strong>SSL</strong> listener with port <strong>443</strong></li><li>Navigate to <strong>SSL</strong> tab</li><li>Update<strong> private key file </strong>and <strong>certificate file</strong> paths as below</li></ol>



<pre class="wp-block-code"><code>/var/www/html/keys/private.pem
/var/www/html/keys/certificate.crt</code></pre>



<p>6. Click <strong>SAVE</strong> and do a <strong>Graceful Restart </strong>once.</p>
<p>The post <a href="https://wpencryption.com/install-ssl-for-openlightspeed-server/">How to install SSL for OpenLightSpeed server &#8211; WordPress</a> appeared first on <a href="https://wpencryption.com">WP Encryption</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to install SSL certificate for WordPress on WHM panel</title>
		<link>https://wpencryption.com/install-ssl-on-whm-panel/</link>
		
		<dc:creator><![CDATA[wp_encryption]]></dc:creator>
		<pubDate>Thu, 03 Sep 2020 12:31:22 +0000</pubDate>
				<category><![CDATA[DOCS]]></category>
		<category><![CDATA[WHM]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[HTTPS]]></category>
		<category><![CDATA[SSL]]></category>
		<guid isPermaLink="false">https://wpencryption.com/?p=502</guid>

					<description><![CDATA[<p>Generate SSL certificate easily with WP Encryption WordPress plugin and install it on your WHM panel following simple instructions.</p>
<p>The post <a href="https://wpencryption.com/install-ssl-on-whm-panel/">How to install SSL certificate for WordPress on WHM panel</a> appeared first on <a href="https://wpencryption.com">WP Encryption</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Please generate and download the SSL certificate files using <strong><a href="https://wordpress.org/plugins/wp-letsencrypt-ssl/" target="_blank" rel="noreferrer noopener">WP Encryption</a></strong> WordPress plugin. Then follow the below steps to install SSL certificates on your WHM:</p>



<p></p>



<ol class="wp-block-list"><li>Login to your WHM panel via <strong>2087</strong> port. Ex: <em>https://domain.com:2087</em></li><li>On WHM homepage, click &#8220;<strong>SSL/TLS</strong>&#8221; option</li><li>On &#8220;<strong>SSL/TLS</strong>&#8221; page, please click on &#8220;<strong>Install an SSL certificate on a Domain</strong>&#8221; option.</li><li>Please enter your domain name and copy/paste the downloaded <strong>cert</strong>, <strong>key </strong>&amp; <strong>ca bundle</strong> file contents into appropriate fields.</li><li>Click &#8220;<strong>Install</strong>&#8221; to complete the process.</li></ol>



<p>Your HTTPs site should be perfectly working now!</p>
<p>The post <a href="https://wpencryption.com/install-ssl-on-whm-panel/">How to install SSL certificate for WordPress on WHM panel</a> appeared first on <a href="https://wpencryption.com">WP Encryption</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to install SSL for WordPress on Nginx server</title>
		<link>https://wpencryption.com/install-ssl-for-nginx-server/</link>
		
		<dc:creator><![CDATA[wp_encryption]]></dc:creator>
		<pubDate>Thu, 03 Sep 2020 12:03:17 +0000</pubDate>
				<category><![CDATA[DOCS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[Digital Ocean]]></category>
		<category><![CDATA[HTTPS]]></category>
		<category><![CDATA[SSL]]></category>
		<guid isPermaLink="false">https://wpencryption.com/?p=499</guid>

					<description><![CDATA[<p>Merge SSL cert files and update your Nginx virtualhost with correct SSL paths following our step by step tutorial.</p>
<p>The post <a href="https://wpencryption.com/install-ssl-for-nginx-server/">How to install SSL for WordPress on Nginx server</a> appeared first on <a href="https://wpencryption.com">WP Encryption</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>First of all, Generate SSL certificate easily with <a href="https://wordpress.org/plugins/wp-letsencrypt-ssl/" target="_blank" rel="noreferrer noopener">WP Encryption</a> WordPress plugin, then follow the below steps to install them on your Nginx server:</p>



<h2 class="wp-block-heading">1. Login to your SSH console</h2>



<p>If you have Nginx server running on cloud platforms like AWS or Digital Ocean, you might be able to login via SSH using <strong>Launch Console</strong> option. Otherwise, you can login using SSH key file or password via terminal.</p>



<h2 class="wp-block-heading">2. Upload SSL certificates to secure folder and merge certs</h2>



<p>Download crt, key &amp; ca bundle files via <strong>WP Encryption</strong> plugin interface, rename them as <strong>certificate.crt</strong>, <strong>private.pem</strong>, <strong>cabundle.crt</strong> accordingly for easier identification and upload them onto a secure folder of your choice. Let&#8217;s assume you uploaded them to <strong>/etc/ssl/</strong> directory.</p>



<p><strong>cd /etc/ssl/</strong> and merge <strong>certificate.crt </strong>and <strong>cabundle.crt</strong> files using below SSH command</p>



<pre class="wp-block-code"><code>cat certificate.crt cabundle.crt >> cert.crt</code></pre>



<h2 class="wp-block-heading">3. Update Nginx virtual host with correct SSL paths</h2>



<p><strong>cd /etc/nginx/sites-enabled/</strong> directory and modify the default file using nano editor. If you don&#8217;t find any file here, copy the default file from <strong>/etc/nginx/sites-available/ </strong>to<strong> /etc/nginx/sites-enabled/</strong> using <strong>cp</strong> command.</p>



<p>Now you need to find lines similar to below:</p>



<pre class="wp-block-code"><code>server {

    listen 443 ssl;    
    
    ssl_certificate        /etc/ssl/certificate.crt; 
    ssl_certificate_key    /etc/ssl/private.key;</code></pre>



<p><strong>ssl_certificate</strong> and <strong>ssl_certificate_key</strong> are the only 2 lines we need to update here. Update these 2 lines with correct paths of merged cert file and key file,</p>



<pre class="wp-block-code"><code>ssl_certificate /etc/ssl/cert.crt;
ssl_certificate_key /etc/ssl/private.pem</code></pre>



<p>Finally, save the config changes.</p>



<h2 class="wp-block-heading">4. Restart Nginx server for SSL changes to take effect</h2>



<p>Nginx server can be restarted using below SSH command</p>



<pre class="wp-block-code"><code>sudo service nginx restart</code></pre>



<p>Once after successful restart, your HTTPs site should be working perfectly!.</p>
<p>The post <a href="https://wpencryption.com/install-ssl-for-nginx-server/">How to install SSL for WordPress on Nginx server</a> appeared first on <a href="https://wpencryption.com">WP Encryption</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to install SSL for WordPress on Apache server</title>
		<link>https://wpencryption.com/install-ssl-for-apache-server/</link>
		
		<dc:creator><![CDATA[wp_encryption]]></dc:creator>
		<pubDate>Thu, 03 Sep 2020 10:58:44 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[DOCS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[Digital Ocean]]></category>
		<category><![CDATA[HTTPS]]></category>
		<category><![CDATA[SSL]]></category>
		<guid isPermaLink="false">https://wpencryption.com/?p=492</guid>

					<description><![CDATA[<p>Enable SSL module and install SSL for your Apache httpd or Apache2 server easily with step by step instructions</p>
<p>The post <a href="https://wpencryption.com/install-ssl-for-apache-server/">How to install SSL for WordPress on Apache server</a> appeared first on <a href="https://wpencryption.com">WP Encryption</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This tutorial assumes your site is running on an Apache server and you have sufficient SSH knowledge. You will need to have root SSH access to complete these changes.</p>



<h2 class="wp-block-heading">1. Login to your SSH console</h2>



<p>If you have Apache server running on cloud platforms like AWS or Digital Ocean, you might be able to login via SSH using <strong>Launch Console</strong> option. Otherwise, you can login using SSH key file or password via terminal.</p>



<h2 class="wp-block-heading">2. Determine your Apache server version</h2>



<p>If you are sure about having <strong>httpd</strong> or <strong>apache2</strong> server, please proceed to next step.</p>



<p>Running the below SSH commands will help you identify whether you have <strong>httpd</strong> or <strong>apache2</strong> server.</p>



<pre class="wp-block-code"><code>sudo systemctl is-enabled httpd</code></pre>



<pre class="wp-block-code"><code>sudo systemctl is-enabled apache2</code></pre>



<p>One of these will respond with <strong>enabled</strong>. Please follow below steps based on which server type is enabled.</p>



<h2 class="wp-block-heading">3. Install SSL for Apache httpd server</h2>



<p>Please run the below SSH command to install SSL module if not already installed:</p>



<pre class="wp-block-code"><code>sudo yum update -y</code></pre>



<pre class="wp-block-code"><code>sudo yum install -y mod_ssl</code></pre>



<p>If you have Linux 2, please run below command instead of above one</p>



<pre class="wp-block-code"><code>sudo yum install -y mod24_ssl</code></pre>



<h3 class="wp-block-heading">3a. Modify httpd config file with correct SSL paths</h3>



<p>Now it&#8217;s time to correct the SSL cert, key and ca bundle paths in default config file. CD into <strong>/etc/httpd/conf.d/</strong> and edit <strong>ssl.conf</strong> file</p>



<pre class="wp-block-code"><code>cd /etc/httpd/conf.d/</code></pre>



<pre class="wp-block-code"><code>sudo nano ssl.conf</code></pre>



<p>You need to look for <strong>SSLCertificateFile</strong>, <strong>SSLCertificateKeyFile</strong> &amp; <strong>SSLCACertificateFile</strong> lines. Assuming your site is hosted / stored in <strong>/var/www/</strong> directory and SSL certificates generated with <strong><a href="https://wordpress.org/plugins/wp-letsencrypt-ssl/" target="_blank" rel="noreferrer noopener">WP Encryption</a></strong> WordPress plugin stored in <strong>keys</strong> directory, modify the 3 lines to look like this:</p>



<pre class="wp-block-code"><code>SSLCertificateFile /var/www/keys/certificate.crt
SSLCertificateKeyFile /var/www/keys/private.pem
SSLCACertificateFile /var/www/wp-content/plugins/wp-letsencrypt-ssl/cabundle/ca.crt</code></pre>



<p>Save the file by pressing <strong>CTRL+O</strong> and exit editor with <strong>CTRL+X</strong>. <strong>CMD+O</strong> and <strong>CMD+X</strong> on Mac Terminal.</p>



<h3 class="wp-block-heading">3b. Restart httpd server for SSL changes to take effect</h3>



<p>Now we are done with the server config changes, it&#8217;s time to restart apache httpd server once for changes to take effect. Please run the below SSH commands to do so:</p>



<pre class="wp-block-code"><code>sudo systemctl restart httpd</code></pre>



<p>OR</p>



<pre class="wp-block-code"><code>sudo service httpd restart</code></pre>



<p>Your HTTPS site should be working perfectly now!.</p>



<h2 class="wp-block-heading">4. Install SSL for Apache2 server</h2>



<p>Enable SSL module using below command if not already enabled</p>



<pre class="wp-block-code"><code>sudo a2enmod ssl</code></pre>



<p><strong>cd /etc/apache2/ </strong>and check if <strong>sites-available</strong> &amp; <strong>sites-enabled</strong> directory exists. if exists &#8211; cd into <strong>sites-available</strong> and you should find a config file like <strong>default-ssl.conf</strong>. Using the default file name, Please run the below command to enable it and then modify this file,</p>



<pre class="wp-block-code"><code>sudo a2ensite default-ssl.conf
sudo nano default-ssl.conf</code></pre>



<p>If you don&#8217;t find <strong>sites-available</strong> &amp;<strong> sites-enabled</strong> directory, You should probably modify <strong>apache2.conf</strong> file.</p>



<p>You need to look for <strong>SSLCertificateFile</strong>, <strong>SSLCertificateKeyFile</strong> &amp; <strong>SSLCACertificateFile</strong> lines. Assuming your site is hosted / stored in <strong>/var/www</strong>/<strong>html/</strong> directory and SSL certificates generated with <strong><a href="https://wordpress.org/plugins/wp-letsencrypt-ssl/" target="_blank" rel="noreferrer noopener">WP Encryption</a></strong> WordPress plugin stored in <strong>keys</strong> directory, modify the 3 lines to look like this:</p>



<pre class="wp-block-code"><code>SSLCertificateFile /var/www/html/keys/certificate.crt
SSLCertificateKeyFile /var/www/html/keys/private.pem
SSLCACertificateFile /var/www/html/wp-content/plugins/wp-letsencrypt-ssl-pro/cabundle/ca.crt</code></pre>



<p>Save the file by pressing <strong>CTRL+O</strong> and exit editor with <strong>CTRL+X</strong>. <strong>CMD+O</strong> and <strong>CMD+X</strong> on Mac Terminal.</p>



<h3 class="wp-block-heading">4a. Restart Apache2 server for SSL changes to take effect</h3>



<p>Now we are done with the server config changes, it&#8217;s time to restart apache2 server once for changes to take effect. Please run the below SSH commands to do so:</p>



<pre class="wp-block-code"><code>sudo systemctl restart apache2</code></pre>



<p>OR</p>



<pre class="wp-block-code"><code>sudo service apache2 restart</code></pre>



<p>Your HTTPS site should be working perfectly now!.</p>
<p>The post <a href="https://wpencryption.com/install-ssl-for-apache-server/">How to install SSL for WordPress on Apache server</a> appeared first on <a href="https://wpencryption.com">WP Encryption</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Easy Install SSL for WordPress Multisite Mapped Domains</title>
		<link>https://wpencryption.com/ssl-for-wordpress-multisite-mapped-domains/</link>
		
		<dc:creator><![CDATA[wp_encryption]]></dc:creator>
		<pubDate>Tue, 25 Aug 2020 11:47:38 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[DOCS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[HTTPS]]></category>
		<category><![CDATA[Mapped Domains]]></category>
		<category><![CDATA[Multisite]]></category>
		<category><![CDATA[SSL]]></category>
		<guid isPermaLink="false">https://wpencryption.com/?p=461</guid>

					<description><![CDATA[<p>Install free lets encrypt SSL for mapped domains of wordpress multisite network within minutes. step by step tutorial on apache SSL configuration</p>
<p>The post <a href="https://wpencryption.com/ssl-for-wordpress-multisite-mapped-domains/">Easy Install SSL for WordPress Multisite Mapped Domains</a> appeared first on <a href="https://wpencryption.com">WP Encryption</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This tutorial assumes that you already have a multisite setup with mapped domains (<strong>domain1.com</strong>, <strong>domain2.com</strong>, etc.,) using <strong><a href="https://wordpress.org/plugins/wordpress-mu-domain-mapping/" target="_blank" rel="noreferrer noopener nofollow">WordPress MU domain mapping plugin</a></strong>. To make it much more clear, WordPress Multisite allows <strong>sub-domain</strong> or <strong>sub-directory</strong> based network sites setup, however mapping of domains refers to pointing of different domain names to each sub site of multisite network using domain mapping plugin.</p>



<p>In this tutorial, We will be installing free SSL certificate provided by <strong><a href="https://letsencrypt.org" target="_blank" rel="noreferrer noopener nofollow">Let&#8217;s Encrypt®</a></strong> (open certificate authority) , you are free to use SSL certificate from any certificate authority unless you have SSL certificate for each of mapped domain name.</p>



<p><strong>Technical Requirements:</strong></p>



<ul class="wp-block-list"><li>Linux server</li><li>Apache</li><li>SSH / Command line access with root privileges</li><li>Your server should have SNI support (Server Name Indication)</li></ul>



<p></p>



<h2 class="wp-block-heading">1. Generate SSL certificate for each mapped domain of multisite network</h2>



<p>First of all, you will need SSL certificates generated for each of domain you have mapped. We have a very handy WordPress plugin to make this SSL generate job very easier &#8220;<strong><a rel="noreferrer noopener" href="https://gowebsmarty.com/product/wp-encryption-pro/" target="_blank">WP Encryption</a></strong>&#8220;. Buying an SSL certificate for each domain of your network would cost several <strong>$$$</strong> each year, if you have large ecommerce sites or membership portals in your multisite network &#8211; We would highly recommend purchasing premium standard SSL certificates from one of premium SSL providers out there.</p>



<p>On the other hand, you could make use of free SSL certificates provided by Let&#8217;s Encrypt<strong>®</strong> using WP Encryption plugin as a mechanism to generate and auto renew SSL certificates easily in one click without any need of technical knowledge. Support for mapped domains is offered in &#8220;<a rel="noreferrer noopener" href="https://gowebsmarty.com/product/wp-encryption-pro/" target="_blank">WP Encryption Pro</a>&#8221; version (You might need 3 sites / 50 sites license based on number of sites you have). It&#8217;s an one time upgrade and lifetime SSL solution.</p>



<p>Upload the <strong>WP Encryption Pro</strong> plugin via your <strong>network -&gt; plugins</strong>. Activate the plugin in each individual site (instead of network activation) and enter your license key to activate the premium features. WP Encryption Pro will auto detect your main site &amp; sub-sites and generate SSL certificate accordingly. You will need to open <strong>WP Encryption</strong> page in your <strong>WP-Admin</strong> of each site, enter your email address and click on <strong>Generate SSL Certificate</strong> button.</p>



<figure class="wp-block-image size-large"><img decoding="async" src="https://gowebsmarty.com/wp-content/uploads/2020/04/wp-encryption-page.png" alt="" class="wp-image-379"/><figcaption>WP Encryption</figcaption></figure>



<p>You will notice a message in response log of WP Encryption saying <em><strong>Certificate for &#8216;yourdomain.com&#8217; saved</strong></em>. Required SSL certificate files <strong>certificate.crt</strong> and <strong>private.pem</strong> will be generated &amp; stored in <strong>keys/</strong> folder inside your WordPress directory (in case of main site). For sub sites, it will auto create a separate folder (<strong>keys/domain2.com/</strong>) inside <strong>keys/</strong> folder and store the <strong>certificate.crt</strong> and <strong>private.pem</strong> inside it. </p>



<h2 class="wp-block-heading">2. Install SSL for main site of your multisite network</h2>



<p>First, We will go through the process of modifying the apache config file of your server to enable SSL for main site. Note that this config modifications are just one time process &amp; you don&#8217;t need to do it again in future. The required certificate.crt and private.pem files for this main site will be stored directly inside keys/ folder as stated above.</p>



<p>Connect via SSH / Command line and navigate to <strong>/etc/apache2/sites-enabled/ </strong>using below SSH command</p>



<pre class="wp-block-code"><code>cd /etc/apache2/sites-enabled</code></pre>



<p>Run <strong>ls -la</strong> to see list of files inside this directory. You should notice a file similar to <strong>default-ssl.conf</strong>, <strong>ssl.conf</strong>, etc., We will need to modify this config file to set correct SSL paths. Please run the below command to start the editor:</p>



<pre class="wp-block-code"><code>sudo nano default-ssl.conf</code></pre>



<p>Enter root password if prompted. You should notice a <strong>&lt;VirtualHost&gt;&lt;/VirtualHost&gt;</strong> config block similar to below one</p>



<pre class="wp-block-code"><code>&lt;VirtualHost _default_:443>
                ServerAdmin webmaster@localhost
                ServerName example.com
                DocumentRoot /var/www/html

                ErrorLog ${APACHE_LOG_DIR}/error.log
                CustomLog ${APACHE_LOG_DIR}/access.log combined

                #   SSL Engine Switch:
                #   Enable/Disable SSL for this virtual host.
                SSLEngine on

                #   SSLCertificateFile directive is needed.
               SSLCertificateFile      /etc/ssl/certs/ssl-cert-snakeoil.pem
               SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
              
                &lt;FilesMatch "\.(cgi|shtml|phtml|php)$">
                                SSLOptions +StdEnvVars
                &lt;/FilesMatch>
                &lt;Directory /usr/lib/cgi-bin>
                                SSLOptions +StdEnvVars
                &lt;/Directory>
&lt;/VirtualHost></code></pre>



<p>You might find the above VirtualHost block much more bigger &amp; it doesn&#8217;t need to be same as above. Out of the above block, you only need to focus on 4 lines i.e., <strong>ServerName</strong>, <strong>DocumentRoot</strong>, <strong>SSLCertificateFile</strong>, <strong>SSLCertificateKeyFile</strong>. Modify these 4 lines based on below instructions:</p>



<ul class="wp-block-list"><li><strong>ServerName</strong> <strong>yourdomain.com</strong></li><li><strong>DocumentRoot</strong> should point to your WordPress directory, this will be <strong>/var/www/html </strong>most of the time on an apache server.</li><li><strong>SSLCertificateFile</strong> should point to <strong>certificate.crt</strong> file inside keys dir Ex:<strong> /var/www/html/keys/certificate.crt</strong></li><li><strong>SSLCertificateKeyFile</strong> should point to <strong>private.pem</strong> file inside keys dir Ex: <strong>/var/www/html/keys/private.pem</strong></li></ul>



<p>Once after you correct these 4 lines, press <strong>CTRL + O</strong> to save the changes, <strong>CTRL + X</strong> to exit file editor and restart apache server once using below command</p>



<pre class="wp-block-code"><code>sudo service apache2 restart</code></pre>



<p>Now open your main site with <strong>https://</strong> protocol and you should see Let&#8217;s Encrypt valid certificate while clicking on padlock in browser address bar which means you have perfectly configured SSL for your main site.</p>



<div class="wp-block-image"><figure class="aligncenter size-large"><img decoding="async" src="https://gowebsmarty.com/wp-content/uploads/2020/04/letsencrypt-certificate-1.png" alt="" class="wp-image-383"/></figure></div>



<h2 class="wp-block-heading">3. Install SSL for sub sites / mapped domains</h2>



<p>This process will be very similar to above changes except minor differences. <strong>CD</strong> into<strong> /etc/apache2/sites-enabled </strong>and <strong>sudo nano default-ssl.conf</strong> again.</p>



<p>Now you will need to replicate the <strong>&lt;VirtualHost&gt;&lt;/VirtualHost&gt;</strong> block one below another for each mapped domain and correct the 4 lines as stated above. The only difference is the SSL certificate &amp; key paths will be inside <strong>sub-directory inside keys/</strong> folder. An example replication for mapped domain2.com would look like below:</p>



<pre class="wp-block-code"><code>&lt;VirtualHost _default_:443>
                ServerAdmin webmaster@localhost
       ServerName maindomain.com
       DocumentRoot /var/www/html

                ErrorLog ${APACHE_LOG_DIR}/error.log
                CustomLog ${APACHE_LOG_DIR}/access.log combined

                #   SSL Engine Switch:
                #   Enable/Disable SSL for this virtual host.
                SSLEngine on

                #   SSLCertificateFile directive is needed.
       SSLCertificateFile      /var/www/html/keys/certificate.crt
       SSLCertificateKeyFile /var/www/html/keys/private.pem
              
                &lt;FilesMatch "\.(cgi|shtml|phtml|php)$">
                                SSLOptions +StdEnvVars
                &lt;/FilesMatch>
                &lt;Directory /usr/lib/cgi-bin>
                                SSLOptions +StdEnvVars
                &lt;/Directory>
&lt;/VirtualHost>

&lt;VirtualHost _default_:443>
                ServerAdmin webmaster@localhost
      ServerName domain2.com
      DocumentRoot /var/www/html

                ErrorLog ${APACHE_LOG_DIR}/error.log
                CustomLog ${APACHE_LOG_DIR}/access.log combined

                #   SSL Engine Switch:
                #   Enable/Disable SSL for this virtual host.
                SSLEngine on

                #   SSLCertificateFile directive is needed.
      SSLCertificateFile    /var/www/html/keys/domain2.com/certificate.crt
      SSLCertificateKeyFile /var/www/html/keys/domain2.com/private.pem
              
                &lt;FilesMatch "\.(cgi|shtml|phtml|php)$">
                                SSLOptions +StdEnvVars
                &lt;/FilesMatch>
                &lt;Directory /usr/lib/cgi-bin>
                                SSLOptions +StdEnvVars
                &lt;/Directory>
&lt;/VirtualHost></code></pre>



<p>Finally, You are all set with the config changes and just need to restart server once for config changes to take effect.</p>



<pre class="wp-block-code"><code>sudo service apache2 restart</code></pre>



<p>Now make sure a valid certificate exists for all your mapped domains by accessing the <strong>https://</strong> version of them. Once after everything looks perfect, You can change <strong>site</strong> &amp; <strong>admin url</strong> of all mapped domains to <strong>https:// </strong>protocol and enable &#8220;<strong>Force HTTPS</strong>&#8221; feature of WP Encryption if you notice any <strong>mixed content</strong> warnings in browser console.</p>



<p>We tried to be as transparent as possible so please excuse for a lengthy explanation.</p>
<p>The post <a href="https://wpencryption.com/ssl-for-wordpress-multisite-mapped-domains/">Easy Install SSL for WordPress Multisite Mapped Domains</a> appeared first on <a href="https://wpencryption.com">WP Encryption</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Install SSL for AWS Lightsail Bitnami WordPress</title>
		<link>https://wpencryption.com/ssl-for-lightsail-bitnami-wordpress/</link>
		
		<dc:creator><![CDATA[wp_encryption]]></dc:creator>
		<pubDate>Tue, 25 Aug 2020 11:44:35 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Bitnami]]></category>
		<category><![CDATA[DOCS]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[AWS]]></category>
		<category><![CDATA[HTTPS]]></category>
		<category><![CDATA[SSL]]></category>
		<guid isPermaLink="false">https://wpencryption.com/?p=459</guid>

					<description><![CDATA[<p>Generate and install free Let's Encrypt SSL certificate for Bitnami WordPress or AWS Lightsail WordPress within seconds</p>
<p>The post <a href="https://wpencryption.com/ssl-for-lightsail-bitnami-wordpress/">How to Install SSL for AWS Lightsail Bitnami WordPress</a> appeared first on <a href="https://wpencryption.com">WP Encryption</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This tutorial demonstrates how to install <strong><a href="https://letsencrypt.org" target="_blank" rel="nofollow noreferrer noopener">Let&#8217;s Encrypt®</a></strong> (open certificate authority) SSL certificate for your Bitnami WordPress as well as AWS Lightsail WordPress. If you wish to use some premium SSL certificate you have purchased, feel free to upload it to a secure folder on your server and skip to step 2 below.</p>



<p><strong>Technical Requirements:</strong></p>



<ul class="wp-block-list"><li>Bitnami WordPress</li><li>SSH / Command line access with root privileges</li></ul>



<h2 class="wp-block-heading">1. Generate free SSL certificate provided by Let&#8217;s Encrypt<strong>®</strong></h2>



<p>To keep this very simple, We will make use of a WordPress plugin &#8220;<a rel="noreferrer noopener nofollow" href="https://wordpress.org/plugins/wp-letsencrypt-ssl/" target="_blank">WP Encryption</a>&#8221; to generate free SSL certificate in one click.</p>



<p>All you need to do is just install &amp; activate the plugin on your WordPress Admin, navigate to <strong>WP Encryption</strong> page, enter your email address and click on <strong>Generate SSL Certificate </strong>button.</p>



<figure class="wp-block-image size-full"><img decoding="async" src="https://gowebsmarty.com/wp-content/uploads/2020/04/wp-encryption-page.png" alt="wp encryption ssl" class="wp-image-379"/></figure>



<p>This process will request and retrieve free SSL certificate from Let&#8217;s Encrypt authority for your domain. SSL certificates provided by Let&#8217;s Encrypt authority will expire in 90 days and you will need to re-generate new certificates again using the same process before the expiry date. SSL certificates cost you several $$$ a year, You could upgrade to &#8220;<a rel="noreferrer noopener" href="https://gowebsmarty.com/product/wp-encryption-pro/" target="_blank">WP Encryption Pro</a>&#8221; to avail auto renew feature and lifetime SSL mechanism. The required <strong>certificate.crt </strong>and <strong>private.pem</strong> files will be generated and stored in <strong>keys/</strong> folder inside your WordPress directory.</p>



<h2 class="wp-block-heading">2. Configure Bitnami to use SSL certificates by Let&#8217;s Encrypt<strong>®</strong></h2>



<p>Assuming you are on a default setup of Bitnami / AWS Lightsail WordPress, You will need to configure the server config file to use SSL certificate and key from correct path. This is an one time process and you don&#8217;t ever need to do it again.</p>



<h3 class="wp-block-heading">Solution 1</h3>



<p>Create a symbolic link from existing / current SSL certificate to new SSL certificates generated &amp; stored by WP Encryption plugin. You can do so by connecting via SSH / Command line to your server and run the below SSH commands,</p>



<p></p>



<p><strong>For Latest Bitnami:</strong></p>



<p> If you are using <strong>latest</strong> bitnami instance where your WordPress site files are located in <strong>/opt/bitnami/wordpress/</strong> folder,  </p>



<pre class="wp-block-code"><code>cd /opt/bitnami/apache/conf/bitnami/certs

sudo ln -sf /opt/bitnami/wordpress/keys/certificate.crt server.crt

sudo ln -sf /opt/bitnami/wordpress/keys/private.pem server.key

sudo /opt/bitnami/ctlscript.sh restart apache</code></pre>



<p><strong>For Older Bitnami:</strong></p>



<p>If you are using <strong>older</strong> bitnami instance where your WordPress site files are located in <strong>/opt/bitnami/apps/wordpress/htdocs/</strong> folder, please use below commands instead of above,</p>



<pre class="wp-block-code"><code>cd /opt/bitnami/apache2/conf

sudo ln -sf /opt/bitnami/apps/wordpress/htdocs/keys/certificate.crt server.crt

sudo ln -sf /opt/bitnami/apps/wordpress/htdocs/keys/private.pem server.key

sudo /opt/bitnami/ctlscript.sh restart apache</code></pre>



<p>Finally, Open your site with <strong>https://</strong> protocol and check if valid certificate exists as below. If so, you are all set so please skip solution 2.</p>



<figure class="wp-block-image size-medium"><img decoding="async" src="https://gowebsmarty.com/wp-content/uploads/2020/04/letsencrypt-certificate-1-300x284.png" alt="wordpress ssl" class="wp-image-383"/></figure>



<h3 class="wp-block-heading">Solution 2</h3>



<p>If the above symlink method fail, We will need to modify WordPress hosts config to use SSL certificates from correct path. Please login via SSH / Command line and follow the below procedure:</p>



<p></p>



<p><strong>Latest Bitnami:</strong></p>



<pre class="wp-block-code"><code>cd /opt/bitnami/apache2/conf/vhosts/

sudo nano wordpress-https-vhost.conf</code></pre>



<p><strong>Older Bitnami:</strong></p>



<pre class="wp-block-code"><code>cd /opt/bitnami/apps/wordpress/conf/

sudo nano httpd-vhosts.conf</code></pre>



<p>You will find a VirtualHost block similar to below</p>



<pre class="wp-block-code"><code>&lt;VirtualHost *:443>
    ServerName yourserverdomain.com
    ServerAlias *.yourserverdomain.com
    DocumentRoot "/opt/bitnami/apps/wordpress/htdocs"

    SSLEngine on

  <strong>SSLCertificateFile "/opt/bitnami/apps/wordpress/conf/certs/new_server.crt"
  SSLCertificateKeyFile "/opt/bitnami/apps/wordpress/conf/certs/new_server.key"</strong>

    Include "/opt/bitnami/apps/wordpress/conf/httpd-app.conf"
&lt;/VirtualHost></code></pre>



<p>All you need to modify here are the <strong>SSLCertificateFile</strong> and <strong>SSLCertificateKeyFile </strong>lines as below</p>



<p></p>



<p><strong>Latest Bitnami:</strong></p>



<pre class="wp-block-code"><code>SSLCertificateFile "/opt/bitnami/wordpress/keys/certificate.crt"

SSLCertificateKeyFile "/opt/bitnami/wordpress/keys/private.pem"</code></pre>



<p><strong>Older Bitnami:</strong></p>



<pre class="wp-block-code"><code>SSLCertificateFile "/opt/bitnami/apps/wordpress/htdocs/keys/certificate.crt"

SSLCertificateKeyFile "/opt/bitnami/apps/wordpress/htdocs/keys/private.pem"</code></pre>



<p>After making these changes, press <strong>CTRL + O</strong> to save the changes and <strong>CTRL + X</strong> to exit the file editor. Now We will need to include this httpd-vhosts config file in main config file of Bitnami, please run below commands</p>



<p><strong>NOTE:</strong> Skip to restart command below if you are on<strong> Latest </strong>Bitnami server.</p>



<pre class="wp-block-code"><code>cd /opt/bitnami/apache2/conf/bitnami/

sudo nano bitnami-apps-vhosts.conf</code></pre>



<p>This will open Bitnami vhosts file editor, at the very bottom of the file add the below line in a new line</p>



<pre class="wp-block-code"><code>Include "/opt/bitnami/apps/wordpress/conf/httpd-vhosts.conf"</code></pre>



<p>After making these changes, press <strong>CTRL + O</strong> to save the changes and <strong>CTRL + X</strong> to exit the file editor. Lastly, restart Bitnami for changes to take effect using below command</p>



<pre class="wp-block-code"><code>sudo /opt/bitnami/ctlscript.sh restart</code></pre>



<p>Either one of the above two solutions would definitely succeed with the SSL setup for your Bitnami WordPress. Once after you see a valid SSL certificate accessing the <strong>https://</strong> version of your site, please change the <strong>site</strong> &amp; <strong>admin url </strong>to <strong>https://</strong> via <strong>Settings -&gt; General </strong>of <strong>WP-Admin</strong> and also enable &#8220;<strong>Force HTTP</strong>S&#8221; feature of WP Encryption plugin interface if you notice any <strong>mixed content</strong> warning in browser console.</p>



<h2 class="wp-block-heading">3. Resolving Intermediate Cert (CA) issue in Bitnami WordPress</h2>



<p>Facebook share debugger and SSLLabs might show your SSL intermediate certificate is missing. Please follow the below commands to resolve the issue:</p>



<p><strong>Latest Bitnami:</strong></p>



<pre class="wp-block-code"><code>cd /opt/bitnami/apache2/conf/bitnami
sudo nano bitnami-ssl.conf</code></pre>



<p><strong>Older Bitnami:</strong></p>



<pre class="wp-block-code"><code>cd /opt/bitnami/apache2/conf/bitnami
sudo nano bitnami.conf</code></pre>



<p>Add below line just after <strong>SSLCertificateKeyFile</strong> line</p>



<p></p>



<p><strong>Latest Bitnami:</strong></p>



<pre class="wp-block-code"><code>SSLCACertificateFile "/opt/bitnami/wordpress/keys/cabundle.crt"</code></pre>



<p><strong>Older Bitnami:</strong></p>



<pre class="wp-block-code"><code>SSLCACertificateFile "/opt/bitnami/apps/wordpress/htdocs/keys/cabundle.crt"</code></pre>



<p>After making these changes, press <strong>CTRL + O</strong> to save the changes and <strong>CTRL + X</strong> to exit the file editor. Lastly, restart Bitnami Apache for changes to take effect using below command</p>



<pre class="wp-block-code"><code>sudo /opt/bitnami/ctlscript.sh restart apache</code></pre>
<p>The post <a href="https://wpencryption.com/ssl-for-lightsail-bitnami-wordpress/">How to Install SSL for AWS Lightsail Bitnami WordPress</a> appeared first on <a href="https://wpencryption.com">WP Encryption</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
