#!/bin/sh
if [ ! "$1" ]
then
  echo "Usage: $0 servername"
  exit
fi

cd /usr/local/ssl/certs
HASH=`x509 -hash -noout -in $1.cert` 
ln -s $1.cert $HASH.0 
