<?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>vhost &#8211; Best DevOps</title>
	<atom:link href="https://www.bestdevops.com/tag/vhost/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.bestdevops.com</link>
	<description>Lets Learn, Do it &#38; Share! Thats a Best DevOps!!!</description>
	<lastBuildDate>Fri, 20 Aug 2021 10:50:32 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>
	<item>
		<title>How to setup SSL certificate for apache</title>
		<link>https://www.bestdevops.com/how-to-setup-ssl-certificate-for-apache/</link>
		
		<dc:creator><![CDATA[pradeep]]></dc:creator>
		<pubDate>Fri, 20 Aug 2021 10:50:30 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[ssl.conf]]></category>
		<category><![CDATA[vhost]]></category>
		<guid isPermaLink="false">https://www.bestdevops.com/?p=19514</guid>

					<description><![CDATA[Environment SUSE Linux Enterprise ServerNovell Open Enterprise ServerNovell GroupWise Situation How to SSLize WebAccess on LinuxHow to secure WebAccess using [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Environment</h2>



<p class="wp-block-paragraph">SUSE Linux Enterprise ServerNovell Open Enterprise ServerNovell GroupWise</p>



<h2 class="wp-block-heading">Situation</h2>



<p class="wp-block-paragraph">How to SSLize WebAccess on Linux<br>How to secure WebAccess using SSLGroupWise WebAccess shows untrusted certificate after pointing to 3rd party certificate using ConsoleOne for WebAccess Agent</p>



<h2 class="wp-block-heading">Resolution</h2>



<ol class="wp-block-list"><li><em>(conditional)</em>&nbsp;If not yet configured, Enable the SSL module and set the Apache Server Flags to SSL:<ul><li>From a terminal window: edit file&nbsp;/etc/sysconfig/apache2</li><li>Verify&nbsp;ssl&nbsp;is found in the list of&nbsp;APACHE_MODULES.<br><em>Note: If it is not, please run the following command, which should enable the ssl module and add it to this list:</em><br>sudo a2enmod ssl</li><li>From this same file, please find&nbsp;APACHE_SERVER_FLAGS=&#8221;&#8221;&nbsp;and add&nbsp;SSL&nbsp;in between&nbsp;the quotations.</li><li>Create a virtual host for ssl by copying from the template:<br>cp /etc/apache2/vhosts.d/vhost-ssl.template /etc/apache2/vhosts.d/vhost-ssl.conf<br></li></ul></li><li>Configure Apache to use new certificate files:<ul><li>From a terminal window:&nbsp;cd /etc/apache2/vhosts.d/</li><li>Edit file&nbsp;vhost-ssl.conf</li><li>Update paths to the appropriate file(s) as needed:<ul><li>SSLCertificateFile &lt;directory to the cert (*.cert)&gt;</li><li>SSLCertificateKeyFile &lt;path to the private key (*.key)&gt;</li><li>SSLCertificateChainFile &lt;path to CA Chain file(s)&gt;</li><li>SSLCACertificateFile &lt;path to bundles&gt;</li></ul></li><li>Save and Close.</li><li>From a Terminal window: type&nbsp;rcapache2 restart&nbsp;and press Enter.</li></ul></li></ol>



<h2 class="wp-block-heading">Additional Information</h2>



<p class="wp-block-paragraph"><strong>How to setup Apache using a single PEM file, if so desired</strong>.<br>Replace Step 2 above with the following:</p>



<ol class="wp-block-list"><li>See&nbsp;<a href="https://support.microfocus.com/kb/doc.php?id=7013103">TID 7013103</a>&nbsp;&#8211; How to create a .pem file for SSL Certificate Installations</li><li>Point Apache to the New PEM:</li></ol>



<ol class="wp-block-list"><li>From a terminal window: type&nbsp;cd /etc/apache2/vhosts.d/&nbsp;and press Enter.</li><li>Edit file&nbsp;vhost-ssl.conf</li><li>Find and replace with the path to the same file:<ul><li>SSLCertificateFile &lt;path to the server.pem&gt;</li><li>SSLCertificateChainFile &lt;path to the server.pem&gt;</li></ul></li><li>Comment out any other Certificate configuration (pem created above&nbsp;includes them):<ul><li>SSLCertificateKeyFile</li></ul><ul><li>SSLCACertificateFile</li></ul></li><li>Save and Close.</li><li>From a Terminal window: type&nbsp;rcapache2 restart&nbsp;and press Enter.</li></ol>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
