#!/bin/sh #------------------------------------------------------------------------------ # /usr/local/htdocs/certs.cgi - show certificate file(s) # # Copyright (c) 2003-2010 Marcus Herleb, info(at)herleb(dot).de # Copyright (c) 2011-2024 The Eisfair Team, team(at)eisfair(dot)org # # Creation: 2011-04-11 jed # Last Update: $Id$ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version.. #------------------------------------------------------------------------------ # Parse variables... eval "`proccgi $*`" echo "Content-Type: text/html; charset=iso-8859-1" echo "Cache-control: no-store" # HTTP/1.1 (or no-cache?) echo "Pragma: no-cache" # HTTP/1.0 echo "Expires: `date -Ru`" # Expires now! echo echo '' echo 'EISFAIR-Status-Webserver - Menu' echo '' # special CSS echo '' echo '' echo '' echo '' echo ' ' echo ' ' echo ' ' echo ' ' echo '
' # ca certificate if [ -f /usr/local/htdocs/ca.pem ] then echo ' ' echo ' ' echo ' ' echo ' ' fi # server certificate if [ -f /usr/local/htdocs/mini_httpd.pem ] then echo ' ' echo ' ' echo ' ' echo ' ' fi # no certificates found if [ ! -f /usr/local/htdocs/ca.pem -a ! -f /usr/local/htdocs/mini_httpd.pem ] then echo ' ' echo ' ' echo ' ' echo ' ' fi echo '

 Zertifikate importieren

' echo '   • CA Zertifikat
' echo '   • Server Zertifikat
  • No certificates found!
' echo '
' echo '' echo ' ' echo ' ' echo ' ' echo '
' echo '' echo ''