<?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>Hello System Admin &#124; Where system admins share technical article and tips &#124; Create free Blog &#124; Updates on domains, web hosting, servers and more &#187; SSL Certificate</title>
	<atom:link href="http://hellosystemadmin.com/blog/category/ssl-certificate/feed/" rel="self" type="application/rss+xml" />
	<link>http://hellosystemadmin.com</link>
	<description></description>
	<lastBuildDate>Fri, 09 Jul 2010 04:29:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>install mod ssl on apache</title>
		<link>http://hellosystemadmin.com/blog/install-mod-ssl-on-apache/</link>
		<comments>http://hellosystemadmin.com/blog/install-mod-ssl-on-apache/#comments</comments>
		<pubDate>Wed, 19 May 2010 06:15:32 +0000</pubDate>
		<dc:creator>Aneesh</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SSL Certificate]]></category>

		<guid isPermaLink="false">http://hellosystemadmin.com/?p=443</guid>
		<description><![CDATA[





 
I am going to give you the steps to install mod_ssl on an Apache server by compiling the source.
Download the following packages
1. apache_1.3.14.tar.gz   http://www.apache.org
2. openssl-0.9.6.tar.gz http://www.openssl.org
3.  mod_ssl-2.7.1-1.3.14.tar.gz http://www.modssl.org
 
I have created a folder called  /downloads/src and downloaded all packages here

Go to Apache source files and  compile it as shown below
 # ./configure &#8211;enable-module=so [...]]]></description>
			<content:encoded><![CDATA[<address><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </address>
<address>I am going to give you the steps to install mod_ssl on an Apache server by compiling the source.</address>
<address>Download the following packages</address>
<address>1. apache_1.3.14.tar.gz   <a href="http://www.apache.org/">http://www.apache.org</a></address>
<address>2. openssl-0.9.6.tar.gz<a href="http://www.openssl.org/"> http://www.openssl.org</a></address>
<address>3.  mod_ssl-2.7.1-1.3.14.tar.gz<a href="http://www.modssl.org/"> http://www.modssl.org</a></address>
<address> </address>
<address>I have created a folder called  /downloads/src and downloaded all packages here<br />
</address>
<address>Go to Apache source files and  compile it as shown below</address>
<address> <span style="color: #993300"># </span><span style="color: #993300">./configure &#8211;enable-module=so &#8211;enable-module=ssl &#8211;enable-module=mod_rewrite</span></address>
<address> </address>
<address>Youc an add whatever module you needed</address>
<address>Now go to openssl folder and compile and install ( you can do this same by  using yum or apt-get command)</address>
<address>To compile and install OpenSSL do the following commands</address>
<address> </address>
<address><span style="color: #993300"># </span><em><span style="color: #993300">sh config -fPIC<br />
</span></em><span style="color: #993300"># </span><em><span style="color: #993300">make<br />
</span></em><span style="color: #993300"># </span><em><span style="color: #993300">make install</span></em></address>
<address> </address>
<address>At this time you can compile your PHP also. To do that run following commands</address>
<address><span style="color: #993300"># </span><span style="color: #993300">./configure &#8211;with-apache=../apache_1.3.41  &#8211;with-gd &#8211;with-zlib-dir &#8211;with-jpeg-dir &#8211;with-png-dir &#8211;with-freetype-dir &#8211;enable-gd-native-ttf &#8211;with-freetype-dir=/usr/lib/ &#8211;with-ttf &#8211;with-mysql=/usr/local/mysql &#8211;with-curl &#8211;disable-soap &#8211;with-openssl &#8211;with-xmlrpc &#8211;enable-ftp &#8211;with-xsl &#8211;with-mysqli=/usr/local/mysql/bin/mysql_config</span></address>
<address> </address>
<address><span style="color: #993300"># </span><span style="color: #993300">make</span></address>
<address><span style="color: #993300"># </span><span style="color: #993300">make install</span></address>
<address> </address>
<address><span style="color: #993300"><span style="color: #000000">Compile Apache and install</span></span></address>
<address><span style="color: #993300"><span style="color: #000000">Go to the apache Directory and runn following commands</span></span></address>
<address><span style="color: #993300">#  ./config.status<br />
#  make<br />
#  make certificate <span style="color: #000000"> ( This step will be asked  some inputs  from you for your self signed SSL certificate)</span><br />
# $ make install</span></address>
<address> </address>
<address><span style="color: #993300"><span style="color: #000000">Now you have installed the apache server with a self signed SSL certificate. Now it is the time to add the location of the .CRT file and .KEY file in your apache configuration file.  From the above steps you can see the location of these files. Copy those paths.</span></span></address>
<address> Now open your httpd.conf file and  add the following line </address>
<address><span style="color: #993300">Listen 443</span></address>
<address><span style="color: #000000">Now create a virtual directory which will listen the port 443</span></address>
<address> </address>
<address>&lt;VirtualHost XXX.XXX.XXX.XXX:443&gt;<br />
ServerName  www.example.com<br />
SSLEngine on<br />
SSLCertificateFile  /usr/local/apache/conf/ssl.crt/server.crt<br />
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key<br />
&lt;/VirtualHost&gt;</address>
<address> </address>
<address>Now save the file and restart your Apache server</address>
<address><span style="color: #993300"># apachectl stop</span></address>
<address><span style="color: #993300"># apachectl startssl</span><br />
</address>
<address> </address>
<address>Enjoy <img src='http://hellosystemadmin.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </address>
<address><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></address>
<address> </address>
<address> </address>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Finstall-mod-ssl-on-apache%2F', 'install+mod+ssl+on+apache')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Finstall-mod-ssl-on-apache%2F', title: '+install+mod+ssl+on+apache+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://hellosystemadmin.com/blog/install-mod-ssl-on-apache/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>httpd asking password when starting apache service</title>
		<link>http://hellosystemadmin.com/blog/httpd-asking-password-when-starting-apache-service/</link>
		<comments>http://hellosystemadmin.com/blog/httpd-asking-password-when-starting-apache-service/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 04:34:26 +0000</pubDate>
		<dc:creator>Aneesh</dc:creator>
				<category><![CDATA[SSL Certificate]]></category>

		<guid isPermaLink="false">http://hellosystemadmin.com/?p=403</guid>
		<description><![CDATA[When starting httpd ( apache server ) it may ask a password to load the SSL certificate. And you may receive a message like given below
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
[root@server SSL]# /etc/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: Apache/2.2.11 mod_ssl/2.2.11 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have [...]]]></description>
			<content:encoded><![CDATA[<p>When starting httpd ( apache server ) it may ask a password to load the SSL certificate. And you may receive a message like given below</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>[root@server SSL]# /etc/init.d/httpd restart<br />
Stopping httpd:                                            [  OK  ]<br />
Starting httpd: Apache/2.2.11 mod_ssl/2.2.11 (Pass Phrase Dialog)<br />
Some of your private key files are encrypted for security reasons.<br />
In order to read them you have to provide the pass phrases.</p>
<p>Server www.example.com:443 (RSA)<br />
Enter pass phrase:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>When apache needs to load the ssl certificate it needs to read the private key and the crt file.  In some case if you encrypted the private key , in order to read the key file you need to provide the password that you used while created the private key.  If you wish to avoid this Pass Phrase Dialog you can decrypt the Key file  in the following way.</p>
<p><span style="color: #ff0000"><strong>PLEASE KEEP A COPY OF ORIGINAL KEY FILE </strong></span></p>
<p><em>cp www.example.com.key www.example.com.key.BAK</em><br />
<em>openssl rsa -in </em><em>www.example.com.key</em><em> -out </em><em>www.example.com.key</em></p>
<p><em><em>Now start apache server ( httpd service ) and this time  you will not get the </em>Pass Phrase Dialog</em></p>
<p><!--Session data--></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fhttpd-asking-password-when-starting-apache-service%2F', 'httpd+asking+password+when+starting+apache+service')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fhttpd-asking-password-when-starting-apache-service%2F', title: '+httpd+asking+password+when+starting+apache+service+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://hellosystemadmin.com/blog/httpd-asking-password-when-starting-apache-service/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Safari can&#8217;t verify the identity of the website</title>
		<link>http://hellosystemadmin.com/blog/safari-cant-verify-the-identity-of-the-website/</link>
		<comments>http://hellosystemadmin.com/blog/safari-cant-verify-the-identity-of-the-website/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 11:02:31 +0000</pubDate>
		<dc:creator>Aneesh</dc:creator>
				<category><![CDATA[SSL Certificate]]></category>

		<guid isPermaLink="false">http://www.hellosystemadmin.com/?p=95</guid>
		<description><![CDATA[



You may get some error like given below in Mac machines when you browse SSL pages
Safari can&#8217;t verify the identity of the website &#8220;example.com&#8221; The certificate for this website was signed by an unknown certifying authority. You might be connectng tp a website that is preteneing to be &#8220;domainname.com&#8221;, which could put your confidential information [...]]]></description>
			<content:encoded><![CDATA[<p><code><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></code></p>
<p><strong>You may get some error like given below in Mac machines when you browse SSL pages</strong></p>
<p><span style="color: #808080">Safari can&#8217;t verify the identity of the website &#8220;example.com&#8221; The certificate for this website was signed by an unknown certifying authority. You might be connectng tp a website that is preteneing to be &#8220;domainname.com&#8221;, which could put your confidential information at risk. Would you like to connect to the website anyway ?</span></p>
<p>To fix the problem add <strong>SSLCertificateChainFile</strong> to your apache configuration file</p>
<p><strong>SSLEngine On<br />
SSLCertificateFile /etc/httpd/ssl/*.example.com.crt<br />
SSLCertificateKeyFile /etc/httpd/ssl/*.example.com.key<br />
SSLCertificateChainFile /etc/httpd/ssl/gd_bundle.crt</strong></p>
<p><code><script type="text/javascript"><!--
google_ad_client = "pub-2585810307670535";
/* 468x60, created 11/28/09 */
google_ad_slot = "9594852426";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></code></p>
<div id="st0000000001" class="st-taf"><script src="http://taf.socialtwist.com:80/taf/js/shoppr.core.js?id=0000000001"></script><img style="border:0;margin:0;padding:0;" src="http://tellafriend.socialtwist.com:80/wizard/images/tafbutton_blue16.png" onmouseout="hideHoverMap(this)" onmouseover="showHoverMap(this, '0000000001', 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fsafari-cant-verify-the-identity-of-the-website%2F', 'Safari+can%26%238217%3Bt+verify+the+identity+of+the+website')" onclick="cw(this, {id:'0000000001',link: 'http%3A%2F%2Fhellosystemadmin.com%2Fblog%2Fsafari-cant-verify-the-identity-of-the-website%2F', title: '+Safari+can%26%238217%3Bt+verify+the+identity+of+the+website+' })"/></div>]]></content:encoded>
			<wfw:commentRss>http://hellosystemadmin.com/blog/safari-cant-verify-the-identity-of-the-website/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
