1
|
<!DOCTYPE html>
|
2
|
<html lang="en">
|
3
|
<head>
|
4
|
<meta charset="UTF-8">
|
5
|
<title>X.509 Certificate Management</title>
|
6
|
</head>
|
7
|
<body>
|
8
|
<h1>Create certificate</h1>
|
9
|
|
10
|
<table>
|
11
|
<tr>
|
12
|
<td><label for="CA">Choose a car:</label></td>
|
13
|
<td>
|
14
|
<select name="CA" id="CA">
|
15
|
<option value="volvo">Self-Signed</option>
|
16
|
<option value="#test-cert-id">Test</option>
|
17
|
</select>
|
18
|
</td>
|
19
|
</tr>
|
20
|
<tr>
|
21
|
<td><label for="validity_start">Validity start:</label></td>
|
22
|
<td><input type="date" id="validity_start" name="validity_start"></td>
|
23
|
</tr>
|
24
|
<tr>
|
25
|
<td><label for="validity_end">Validity end:</label></td>
|
26
|
<td><input type="date" id="validity_end" name="validity_end"></td>
|
27
|
</tr>
|
28
|
<tr>
|
29
|
<td><label for="issuer_CN">Common Name:</label></td>
|
30
|
<td><input type="text" id="issuer_CN" name="issuer_CN" disabled></td>
|
31
|
</tr>
|
32
|
<tr>
|
33
|
<td><label for="issuer_C">Country Code:</label></td>
|
34
|
<td><input type="text" id="issuer_C" name="issuer_C" disabled></td>
|
35
|
</tr>
|
36
|
<tr>
|
37
|
<td><label for="issuer_L">Locality:</label></td>
|
38
|
<td><input type="text" id="issuer_L" name="issuer_L" disabled></td>
|
39
|
</tr>
|
40
|
<tr>
|
41
|
<td><label for="issuer_ST">Province/State:</label></td>
|
42
|
<td><input type="text" id="issuer_ST" name="issuer_ST" disabled></td>
|
43
|
</tr>
|
44
|
<tr>
|
45
|
<td><label for="issuer_O">Organization:</label></td>
|
46
|
<td><input type="text" id="issuer_O" name="issuer_O" disabled></td>
|
47
|
</tr>
|
48
|
<tr>
|
49
|
<td><label for="issuer_OU">Organization Unit:</label></td>
|
50
|
<td><input type="text" id="issuer_OU" name="issuer_OU" disabled></td>
|
51
|
</tr>
|
52
|
<tr>
|
53
|
<td><label for="issuer_emailAddress">Email:</label></td>
|
54
|
<td><input type="email" id="issuer_emailAddress" name="issuer_emailAddress" disabled></td>
|
55
|
</tr>
|
56
|
<tr>
|
57
|
<td><label for="subject_CN">Common Name:</label></td>
|
58
|
<td><input type="text" id="subject_CN" name="subject_CN"></td>
|
59
|
</tr>
|
60
|
<tr>
|
61
|
<td><label for="subject_C">Country Code:</label></td>
|
62
|
<td><input type="text" id="subject_C" name="subject_C"></td>
|
63
|
</tr>
|
64
|
<tr>
|
65
|
<td><label for="subject_L">Locality:</label></td>
|
66
|
<td><input type="text" id="subject_L" name="subject_L"></td>
|
67
|
</tr>
|
68
|
<tr>
|
69
|
<td><label for="subject_ST">Province/State:</label></td>
|
70
|
<td><input type="text" id="subject_ST" name="subject_ST"></td>
|
71
|
</tr>
|
72
|
<tr>
|
73
|
<td><label for="subject_O">Organization:</label></td>
|
74
|
<td><input type="text" id="subject_O" name="subject_O"></td>
|
75
|
</tr>
|
76
|
<tr>
|
77
|
<td><label for="subject_OU">Organization Unit:</label></td>
|
78
|
<td><input type="text" id="subject_OU" name="subject_OU"></td>
|
79
|
</tr>
|
80
|
<tr>
|
81
|
<td><label for="subject_emailAddress">Email:</label></td>
|
82
|
<td><input type="email" id="subject_emailAddress" name="subject_emailAddress"></td>
|
83
|
</tr>
|
84
|
<tr>
|
85
|
<td>Usage:</td>
|
86
|
<td>
|
87
|
<input type="checkbox" id="isCA" name="isCA" value="CA">
|
88
|
<label for="isCA">CA</label><br>
|
89
|
|
90
|
<input type="checkbox" id="isDigitalSignature" name="isDigitalSignature" value="DigitalSignature">
|
91
|
<label for="isDigitalSignature">Digital Signature</label><br>
|
92
|
|
93
|
<input type="checkbox" id="isAuthentication" name="isAuthentication" value="Authentication">
|
94
|
<label for="isAuthentication">Authentication</label><br>
|
95
|
|
96
|
<input type="checkbox" id="isSSL_TLS" name="isSSL_TLS" value="SSL_TLS">
|
97
|
<label for="isSSL_TLS">SSL/TLS</label><br>
|
98
|
</td>
|
99
|
</tr>
|
100
|
<tr>
|
101
|
<td colspan="2" align="center">
|
102
|
<button onclick="window.location.href = '/static/index.html';">Create certificate</button>
|
103
|
</td>
|
104
|
</tr>
|
105
|
</table>
|
106
|
</body>
|
107
|
</html>
|