diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-11-21 13:28:22 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-12-03 11:40:25 -0500 |
commit | 538dee3554b0a84497afa78770706a5ad4a8ff52 (patch) | |
tree | 239fa83c28241f3d4d8b6ba27214db539fc9cb19 /dogtag/ra-ui/shared/docroot/ee/agent | |
parent | 35dc1009494453803d22573ef876c8b418a609d3 (diff) | |
download | pki-538dee3554b0a84497afa78770706a5ad4a8ff52.tar.gz pki-538dee3554b0a84497afa78770706a5ad4a8ff52.tar.xz pki-538dee3554b0a84497afa78770706a5ad4a8ff52.zip |
Reorganized RA templates and scripts.
The templates, JS, and CGI scripts for RA have been moved into
the RA core package.
Ticket #407
Diffstat (limited to 'dogtag/ra-ui/shared/docroot/ee/agent')
-rw-r--r-- | dogtag/ra-ui/shared/docroot/ee/agent/enroll.vm | 74 | ||||
-rw-r--r-- | dogtag/ra-ui/shared/docroot/ee/agent/index.vm | 83 | ||||
-rw-r--r-- | dogtag/ra-ui/shared/docroot/ee/agent/new.vm | 88 | ||||
-rw-r--r-- | dogtag/ra-ui/shared/docroot/ee/agent/start.vm | 114 | ||||
-rw-r--r-- | dogtag/ra-ui/shared/docroot/ee/agent/submit.vm | 73 |
5 files changed, 0 insertions, 432 deletions
diff --git a/dogtag/ra-ui/shared/docroot/ee/agent/enroll.vm b/dogtag/ra-ui/shared/docroot/ee/agent/enroll.vm deleted file mode 100644 index 203b02696..000000000 --- a/dogtag/ra-ui/shared/docroot/ee/agent/enroll.vm +++ /dev/null @@ -1,74 +0,0 @@ -<!-- --- 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 Enrollment</title> - <link rel="shortcut icon" href="/pki/images/favicon.ico" /> - <link rel="stylesheet" href="/pki/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> - - -<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 /> -Enroll Interface -</font><br> -<p> -<b>Your Certificate:</b> -<br/> -<b>Subject DN:</b> $subject_dn -<br/> -<pre> ------BEGIN CERTIFICATE----- -$cert ------END CERTIFICATE----- -</pre> -<a href="/ee/request/importcert.cgi?id=$rid">import certificate</a> -#include ( "footer.vm" ) - -</body> -</html> diff --git a/dogtag/ra-ui/shared/docroot/ee/agent/index.vm b/dogtag/ra-ui/shared/docroot/ee/agent/index.vm deleted file mode 100644 index 9fc991d6a..000000000 --- a/dogtag/ra-ui/shared/docroot/ee/agent/index.vm +++ /dev/null @@ -1,83 +0,0 @@ -<!-- --- 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>RA End-Entity</title> - <link rel="shortcut icon" href="/pki/images/favicon.ico" /> - <link rel="stylesheet" href="/pki/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> - - -<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 /> -</font><br> -<p> -For RA agent enrollment, an agent must submit a pin creation request first before performing certificate enrollment. -<p> -<center> -<table border="0" cellspacing="0" cellpadding="0"> -<tr valign="TOP"> -<td> -<font size=4 face="PrimaSans BT, Verdana, sans-serif"> -<li><a href="new.cgi">Pin Creation Request</a></li> -</font> -</td> -</tr> -<tr valign="TOP"> -<td> -<font size=4 face="PrimaSans BT, Verdana, sans-serif"> -<li><a href="start.cgi">Certificate Enrollment</a></li> -</font> -</td> -</tr> -</table> -</center> -#include ( "footer.vm" ) - -</body> -</html> diff --git a/dogtag/ra-ui/shared/docroot/ee/agent/new.vm b/dogtag/ra-ui/shared/docroot/ee/agent/new.vm deleted file mode 100644 index bca0a37fc..000000000 --- a/dogtag/ra-ui/shared/docroot/ee/agent/new.vm +++ /dev/null @@ -1,88 +0,0 @@ -<!-- --- 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</title> - <link rel="shortcut icon" href="/pki/images/favicon.ico" /> - <link rel="stylesheet" href="/pki/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> - - -<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 agent to request for agent certificate. -<p> -<center> -<form method=post action="submit.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>Your Email:</td> - <td><input type=text name=email value=""></td> -</tr> -<tr> - <td> </td> - <td> </td> -</tr> -<tr> - <td><input type=submit name=Submit value="Submit"></td> - <td></td> -</tr> -</table> -</form> -</center> -#include ( "footer.vm" ) - -</body> -</html> diff --git a/dogtag/ra-ui/shared/docroot/ee/agent/start.vm b/dogtag/ra-ui/shared/docroot/ee/agent/start.vm deleted file mode 100644 index b2b21dc1b..000000000 --- a/dogtag/ra-ui/shared/docroot/ee/agent/start.vm +++ /dev/null @@ -1,114 +0,0 @@ -<!-- --- 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="/pki/images/favicon.ico" /> - <link rel="stylesheet" href="/pki/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> diff --git a/dogtag/ra-ui/shared/docroot/ee/agent/submit.vm b/dogtag/ra-ui/shared/docroot/ee/agent/submit.vm deleted file mode 100644 index aaabee929..000000000 --- a/dogtag/ra-ui/shared/docroot/ee/agent/submit.vm +++ /dev/null @@ -1,73 +0,0 @@ -<!-- --- 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 Submission</title> - <link rel="shortcut icon" href="/pki/images/favicon.ico" /> - <link rel="stylesheet" href="/pki/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> - - -<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 /> -</font><br> -<p> -Your request has been successfully submitted. -<p> -<center> -<table border="0" cellspacing="1" cellpadding="1"> -<tr> - <td width=20%>Request ID:</td> - <td><a href="/ee/request/status.cgi?id=$request_id">$request_id</td> -</tr> -</table> -</center> -#include ( "footer.vm" ) - -</body> -</html> |