3 <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
4 <link rel="stylesheet" href='stylemain.css' type='text/css'>
5 <link rel="stylesheet" href='colors.css' type='text/css'>
6 <script language="javascript" src="util.js"></script>
7 <script language="javascript">
10 var certstart = '-----BEGIN CERTIFICATE-----';
11 var certinsert = '\n<insert certificate here>\n';
12 var certend = '-----END CERTIFICATE-----';
15 document.importForm.action = 'certca.cmd?action=import';
16 with ( document.forms[0] ) {
17 certPublic.value = certstart + certinsert + certend + '\n';
21 function applyClick() {
24 with ( document.forms[0] ) {
25 if ( certName.value == '' ) {
26 alert('Certificate Name should not be empty.');
29 if ( certPublic.value == '' ) {
30 alert('Certificate Public Key should not be empty.');
34 document.importForm.submit();
39 <body onLoad='frmLoad()'>
41 <form name="importForm" method="post">
42 <b>Import CA certificate<br>
45 Enter certificate name and paste certificate content.<br>
47 <table border="0" cellpadding="0" cellspacing="0">
49 <td width="180">Certificate Name:</td>
50 <td><input type='text' name='certName' size='20' maxlength="63"></td>
53 <td width="180">Certificate:</td>
56 <TEXTAREA name='certPublic' rows='20' cols='80'>
67 <input type='button' value='Apply' onclick="applyClick()">