#!/bin/sh

if [ -n "$PATH_INFO" -a -r "$PATH_INFO" ]; then
       echo "Content-Type: application/x-x509-ca-cert"
       echo ""
       cat $PATH_INFO
else
  echo "Content-Type: text/html"
  echo ""
  echo "<HTML> <HEAD><TITLE>Certificate not found!</TITLE></HEAD>"
  echo "<BODY><P><B>Sorry, I can't find the certificate I had planned to send back.  Please try again some other time.</B></BODY></HTML>"
fi
exit 0
