CACert.org – get free ssl certificates.

From CACert website :

CAcert.org is a community-driven Certificate Authority that issues certificates to the public at large for free.

CAcert’s goal is to promote awareness and education on computer security through the use of encryption, specifically by providing cryptographic certificates. These certificates can be used to digitally sign and encrypt email, authenticate and authorize users connecting to websites and secure data transmission over the internet. Any application that supports the Secure Socket Layer Protocol (SSL or TLS) can make use of certificates signed by CAcert, as can any application that uses X.509 certificates, e.g. for encryption or code signing and document signatures.

If you want to have free certificates issued to you, join the CAcert Community .

If you want to use certificates issued by CAcert, read the CAcert Root Distribution License .This license applies to using the CAcert root keys .

So, what are you waiting for , head over to CACert.

rfc2html – php script to view rfc with index and links.

If you have to keep viewing RFC’s and you miss index and links in RFC while viewing rfc, then you should check-out rfc2html. It is scrtip that takes plain text rfc and converts it to html.

You can get the original code from sourceforge.

However, I found some small issues with the script and have sent a mail to the authour about the same. In the meantime, you can use the diff below to fix the issue’s or download this diff file rfc2html.diff and apply the diff:

--- rfc2html.php	2014-06-27 18:42:14.027210656 +0530
+++ new/rfc2html.php	2014-07-06 12:06:23.212308365 +0530
@@ -19,7 +19,7 @@
  */
 
 /** 
- * @version $Id: rfc2html.php,v 1.9 2006/02/08 21:44:42 chmate Exp $
+ * @version $Id: rfc2html.php 15 2006-02-22 08:52:04Z chmate $
  * @author Chang Hsiou-Ming <[email protected]>
  */
 
@@ -35,8 +35,8 @@
 define("PAGE_COLUMNS", 72);
 define("BUF_SIZE", 8192);
 define("CENTRAL_ERROR", 4);
-define("REF_PATTERN", '/\[RFC(\d+)\]/');
-define("REF_REPLACE", '<a class="ref" href="rfc2html.php?in=\1">\0</a>');
+define("REF_PATTERN", '/\[(\w*\d+)\]/');
+define("REF_REPLACE", '<a class="ref" href="#REF\1">\0</a>');
 define("REFED_REPLACE", '<a name="REF\1">\0</a>');
 define("SEC_NUMBER", '/^(\d+(\.(\d|\w)+)*)(\s|\.)/');
 define("SEC_PATTERN", '/((section|sec)\s*(\d+(\.\d+)*))/i');
@@ -235,7 +235,6 @@
 		echo "</div><!-- page -->\n";
 	}
 
-	//echo '<pre>'; var_dump($rfc_toc); echo '</pre>';	
 	$toc = build_toc($toc);
 
 	echo "</div><!-- pages -->\n";
@@ -639,12 +638,11 @@
 
 
 #sidebar {
-	position: fixed;
-	top: 5px;
-	left: 1px; 
+	position: absolute;
+	top: 50px;
+	left: 10px;
 	width: 280px;
 	margin: 0;
-    font-size:10px;
 }
 
 #navbar {
@@ -727,10 +725,8 @@
 }
 
 div.toolbar {
-    position: fixed;
 	background: #e0e0e0;
-    width: 100%;
-	margin: 10;
+	margin: 0;
 	padding: 10px 2em 10px 1em;
 	border: 2px dashed #bbbbbb;
 }
@@ -812,7 +808,6 @@
 	<?php @include 'rfc2html_head.php'; ?>	
 </div>
 
-<!--
 <div class="toolbar">
 	<form method="get" action="rfc2html.php">
 		<div>
@@ -821,7 +816,7 @@
 			<input type="submit" value="Go!" />
 		</div>
 	</form>
-</div> -->
+</div>
 
 <?php
 	if($text) {

Get status of your servers with perl script.

Monitoring the servers could be well – “not difficult” but boring and monotonous. And since this is something that you should ideally do on daily basis, so why not have a script for the same.

You can’t possibly copy your ssh-keys to all the servers that you are monitoring, better if you can, then you need to do ssh to server with password. So, here is link to my github repo for monitoring servers with perl script. Preety straight forward script and you can schedule this in cron to get a daily mail.

Link to repo.

The script covers solaris and Linux ( i.e. Ubuntu/Fedora/Debian/ideally any distro)

Do let me know in comments, if you feel something is missnig.