#!/usr/local/bin/perl # cert_form.cgi require './acl-lib.pl'; &ui_print_header(undef, $text{'cert_title'}, "", undef, undef, undef, undef, undef, undef, "language=VBSCRIPT onload='postLoad()'"); eval "use Net::SSLeay"; print "

$text{'cert_msg'}

\n"; if ($ENV{'SSL_USER'}) { print &text('cert_already', "$ENV{'SSL_USER'}"), "

\n"; } if ($ENV{'HTTP_USER_AGENT'} =~ /Mozilla/i) { # Output a form that works for netscape and mozilla print "

\n"; print "\n"; print "\n"; print "
$text{'cert_header'}
\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "\n"; print "
$text{'cert_cn'}
$text{'cert_email'}
$text{'cert_ou'}
$text{'cert_o'}
$text{'cert_sp'}
$text{'cert_c'}
$text{'cert_key'}
\n"; print "\n"; print "
\n"; } else { # Unsupported browser! print "

",&text('cert_ebrowser', "$ENV{'HTTP_USER_AGENT'}"),"

\n"; } &ui_print_footer("", $text{'index_return'});