<?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>OpenLightSpeed Archives - WP Encryption</title>
	<atom:link href="https://wpencryption.com/category/openlightspeed/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>WordPress SSL Plugin</description>
	<lastBuildDate>Mon, 03 May 2021 10:03:54 +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>OpenLightSpeed Archives - WP Encryption</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Setup CRON Job to Restart Server Monthly Once</title>
		<link>https://wpencryption.com/restart-server-via-cronjob/</link>
		
		<dc:creator><![CDATA[wp_encryption]]></dc:creator>
		<pubDate>Mon, 03 May 2021 09:29:19 +0000</pubDate>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Bitnami]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[OpenLightSpeed]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<guid isPermaLink="false">https://wpencryption.com/?p=839</guid>

					<description><![CDATA[<p>This guide is focused towards step by step instructions on setting up a cron job on server to restart Apache/Nginx/Bitnami monthly once</p>
<p>The post <a href="https://wpencryption.com/restart-server-via-cronjob/">Setup CRON Job to Restart Server Monthly Once</a> appeared first on <a href="https://wpencryption.com">WP Encryption</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This guide is focused towards step by step instructions on setting up a cron job on server to restart Apache/Nginx/Bitnami monthly once so your latest SSL certificate is always loaded up automatically on frontend site without having to manually restart server.</p>



<p>First of all, You need to have<strong> root SSH</strong> <strong>access</strong> to your server. Otherwise, this method would not be possible as server restart requires <strong>sudo</strong> privileges and not something possible with your basic / jailed SSH access offered on shared hosting environments.</p>



<p>Further steps explained below:</p>



<p>1.  Login to your SSH console as <strong>root</strong> user.</p>



<p>2.  In case of <strong>Apache</strong> or <strong>Nginx</strong> server, please run the below command to identify your <strong>service</strong> path and make note of the path.</p>



<pre class="wp-block-code"><code>which service</code></pre>



<p>It will be something like <strong>/usr/sbin/service</strong></p>



<p>3. Run the below command to see which cron jobs you are already running.</p>



<pre class="wp-block-code"><code>crontab -l</code></pre>



<p>4. Start editing the crontab with <strong>nano</strong> editor using below command</p>



<pre class="wp-block-code"><code>crontab -e</code></pre>



<p>5. Using the service path you have noted, add a new monthly cron job line (runs on date 1 of each month) at the bottom of crontab editor in a new line as below</p>



<pre class="wp-block-code"><code>0 0 1 * * /usr/sbin/service apache2 restart > /monthlycron.log 2>&amp;1</code></pre>



<p>If you are using <strong>Nginx</strong> server, the above line should be,</p>



<pre class="wp-block-code"><code>0 0 1 * * /usr/sbin/service nginx restart > /monthlycron.log 2>&amp;1</code></pre>



<p>If you are using <strong>Bitnami server / Apache Lightsail</strong>, the above line should be,</p>



<pre class="wp-block-code"><code>0 0 1 * * /opt/bitnami/ctlscript.sh restart apache > /monthlycron.log 2>&amp;1</code></pre>



<p><strong>Note: </strong>Both success &amp; errors are logged in <strong>monthlycron.log</strong> file of root directory which will be helpful for debugging if server restart fails.</p>



<p>Press <strong>CTRL + O</strong> to save the crontab &amp; you are all set!. You can run <strong>crontab -l</strong> command to see the saved cron job.</p>



<p><strong>CAUTION:</strong> </p>



<p>In rare cases, If there is any error / typo in your server config file or if <strong>certificate.crt</strong>, <strong>private.pem</strong>, <strong>cabundle.crt</strong> files don&#8217;t exists in <strong>keys/</strong> directory of your WordPress directory, your server restart could fail and your site may become inaccessible on <strong>day 1 of month</strong>. In such case, you need to correct any error logged in <strong>monthlycron.log</strong> file, fix missing cert files in <strong>keys/</strong> directory and restart server once manually.</p>
<p>The post <a href="https://wpencryption.com/restart-server-via-cronjob/">Setup CRON Job to Restart Server Monthly Once</a> appeared first on <a href="https://wpencryption.com">WP Encryption</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<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>
	</channel>
</rss>
