diff options
Diffstat (limited to 'dogtag/ra-ui/shared/docroot/ee/agent/start.vm')
-rw-r--r-- | dogtag/ra-ui/shared/docroot/ee/agent/start.vm | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/dogtag/ra-ui/shared/docroot/ee/agent/start.vm b/dogtag/ra-ui/shared/docroot/ee/agent/start.vm new file mode 100644 index 000000000..32adbb57f --- /dev/null +++ b/dogtag/ra-ui/shared/docroot/ee/agent/start.vm @@ -0,0 +1,114 @@ +<!-- --- BEGIN COPYRIGHT BLOCK --- + 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; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + Copyright (C) 2007 Red Hat, Inc. + All rights reserved. + --- END COPYRIGHT BLOCK --- --> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html> + +<title>Agent Certificate Request Using a One-Time Pin</title> + <link rel="shortcut icon" href="/ra/admin/console/img/favicon.ico" /> + <link rel="stylesheet" href="/css/pki-base.css" type="text/css" /> + <META http-equiv=Content-Type content="text/html; charset=UTF-8"> + +</head> +<body bgcolor="#FFFFFF" link="#666699" vlink="#666699" alink="#333366"> + +#include ( "header.vm" ) + +<div id="mainNavOuter"> +<div id="mainNav"> +<div id="mainNavInner"> + +</div><!-- end mainNavInner --> +</div><!-- end mainNav --> +</div><!-- end mainNavOuter --> + + +<div id="bar"> + +<div id="systembar"> +<div id="systembarinner"> + +<div> + - +</div> + + +</div> +</div> + +</div> + +<SCRIPT LANGUAGE="JavaScript"> + +function validate() +{ + with (document.forms[0]) { + crmfObject = crypto.generateCRMFRequest( + "CN=x", + "regToken", "authenticator", + null, + "setCRMFRequest();", + 1024, null, "rsa-dual-use"); + return false; + } +} + +function setCRMFRequest() +{ + with (document.forms[0]) { + csr.value = crmfObject.request; + submit(); + } +} + +</SCRIPT> + + +<font size="+1" face="PrimaSans BT, Verdana, Arial, Helvetica, sans-serif"> +<a href="/ee/index.cgi">RA Services</a> : <a href="/ee/agent/index.cgi">Agent Enrollment</a><br /> +Agent Interface +</font><br> +<p> +This form is for new RA agent to request a certificate. +<p> +<center> +<form onSubmit="return validate();" method=post action="enroll.cgi"> +<table border="0" cellspacing="1" cellpadding="1"> +<tr> + <td width=20%>UID:</td> + <td><input type=text name=uid value="" ></td> +</tr> +<tr> + <td>One-Time Pin:</td> + <td><input type=text name=pin value=""></td> +</tr> +<tr> + <td> </td> + <td> </td> +</tr> +<tr> + <td><input type=submit name=Submit value="Submit"></td> + <td></td> +</tr> +</table> +<input type=hidden name="csr" value=""> +</form> +</center> +#include ( "footer.vm" ) + +</body> +</html> |