#!/bin/sh echo "content-type: text/html" echo echo "Apache-SSL Certificate Export" echo "" echo "

Apache-SSL Certificate Export

" echo "

" echo "Your browser presented the following certificate:" echo "
" (echo "-----BEGIN CERTIFICATE-----" echo -n $SSL_CLIENT_CERT | /bin/dd cbs=64 conv=unblock 2>/dev/null echo "-----END CERTIFICATE-----") | /usr/local/ssl/bin/openssl x509 -text echo "
" echo "This server set the following environment variables:" echo "
" echo "Client:" echo env | sort | grep SSL_CLIENT echo echo "Server:" echo env | sort | grep SSL_SERVER echo echo "Protocol:" echo env | sort | grep HTTPS env | sort | grep SSL_CIPHER env | sort | grep SSL_PROTOCOL echo "
" echo "Return to the Apache-SSL homepage.

" echo "



" echo "
" echo "Copyright © 1998,9,2000 Ben Laurie, Adam Laurie." echo ""