1 |
816f0e98
|
Jan Pašek
|
<!DOCTYPE html>
|
2 |
|
|
<html lang="en">
|
3 |
|
|
<head>
|
4 |
|
|
<meta charset="UTF-8">
|
5 |
|
|
<title>X.509 Certificate Management</title>
|
6 |
499af4e8
|
Jan Pašek
|
<link rel="stylesheet" href="/static/css/bootstrap.min.css">
|
7 |
816f0e98
|
Jan Pašek
|
</head>
|
8 |
499af4e8
|
Jan Pašek
|
<body class="p-4">
|
9 |
13625353
|
Jan Pašek
|
<div id="create-certificate-content" class="container">
|
10 |
|
|
<h1 class="text-center">Create Certificate</h1>
|
11 |
|
|
<table class="ml-auto mr-auto">
|
12 |
|
|
<tr>
|
13 |
|
|
<div class="form-group">
|
14 |
|
|
<td><label for="CA">Certificate Authority:</label></td>
|
15 |
|
|
<td class="pl-3">
|
16 |
|
|
<select name="CA" id="CA" class="form-control">
|
17 |
|
|
<option value="volvo">Self-Signed</option>
|
18 |
|
|
<option value="#test-cert-id">Test</option>
|
19 |
|
|
</select>
|
20 |
|
|
</td>
|
21 |
|
|
</div>
|
22 |
|
|
</tr>
|
23 |
|
|
<tr>
|
24 |
|
|
<div class="form-group">
|
25 |
|
|
<td><label for="validity_start">Validity start:</label></td>
|
26 |
|
|
<td class="pl-3"><input type="date" id="validity_start" name="validity_start" class="form-control"></td>
|
27 |
|
|
</div>
|
28 |
|
|
</tr>
|
29 |
|
|
<tr>
|
30 |
|
|
<div class="form-group">
|
31 |
|
|
<td><label for="validity_end">Validity end:</label></td>
|
32 |
|
|
<td class="pl-3"><input type="date" id="validity_end" name="validity_end" class="form-control"></td>
|
33 |
|
|
</div>
|
34 |
|
|
</tr>
|
35 |
|
|
<tr>
|
36 |
|
|
<td colspan="2"><h5>Issuer</h5></td>
|
37 |
|
|
</tr>
|
38 |
|
|
<tr>
|
39 |
|
|
<div class="form-group">
|
40 |
|
|
<td><label for="issuer_CN">Common Name:</label></td>
|
41 |
|
|
<td class="pl-3"><input type="text" id="issuer_CN" name="issuer_CN" class="form-control" disabled></td>
|
42 |
|
|
</div>
|
43 |
|
|
</tr>
|
44 |
|
|
<tr>
|
45 |
|
|
<div class="form-group">
|
46 |
|
|
<td><label for="issuer_C">Country Code:</label></td>
|
47 |
|
|
<td class="pl-3"><input type="text" id="issuer_C" name="issuer_C" class="form-control" disabled></td>
|
48 |
|
|
</div>
|
49 |
|
|
</tr>
|
50 |
|
|
<tr>
|
51 |
|
|
<div class="form-group">
|
52 |
|
|
<td><label for="issuer_L">Locality:</label></td>
|
53 |
|
|
<td class="pl-3"><input type="text" id="issuer_L" name="issuer_L" class="form-control" disabled></td>
|
54 |
|
|
</div>
|
55 |
|
|
</tr>
|
56 |
|
|
<tr>
|
57 |
|
|
<div class="form-group">
|
58 |
|
|
<td><label for="issuer_ST">Province/State:</label></td>
|
59 |
|
|
<td class="pl-3"><input type="text" id="issuer_ST" name="issuer_ST" class="form-control" disabled></td>
|
60 |
|
|
</div>
|
61 |
|
|
</tr>
|
62 |
|
|
<tr>
|
63 |
|
|
<div class="form-group">
|
64 |
|
|
<td><label for="issuer_O">Organization:</label></td>
|
65 |
|
|
<td class="pl-3"><input type="text" id="issuer_O" name="issuer_O" class="form-control" disabled></td>
|
66 |
|
|
</div>
|
67 |
|
|
</tr>
|
68 |
|
|
<tr>
|
69 |
|
|
<div class="form-group">
|
70 |
|
|
<td><label for="issuer_OU">Organization Unit:</label></td>
|
71 |
|
|
<td class="pl-3"><input type="text" id="issuer_OU" name="issuer_OU" class="form-control" disabled></td>
|
72 |
|
|
</div>
|
73 |
|
|
</tr>
|
74 |
|
|
<tr>
|
75 |
|
|
<div class="form-group">
|
76 |
|
|
<td><label for="issuer_emailAddress">Email:</label></td>
|
77 |
|
|
<td class="pl-3"><input type="email" id="issuer_emailAddress" name="issuer_emailAddress" class="form-control" disabled></td>
|
78 |
|
|
</div>
|
79 |
|
|
</tr>
|
80 |
|
|
<tr>
|
81 |
|
|
<td colspan="2"><h5>Subject</h5></td>
|
82 |
|
|
</tr>
|
83 |
|
|
<tr>
|
84 |
|
|
<div class="form-group">
|
85 |
|
|
<td><label for="subject_CN">Common Name:</label></td>
|
86 |
|
|
<td class="pl-3"><input type="text" id="subject_CN" name="subject_CN" class="form-control"></td>
|
87 |
|
|
</div>
|
88 |
|
|
</tr>
|
89 |
|
|
<tr>
|
90 |
|
|
<div class="form-group">
|
91 |
|
|
<td><label for="subject_C">Country Code:</label></td>
|
92 |
|
|
<td class="pl-3"><input type="text" id="subject_C" name="subject_C" class="form-control"></td>
|
93 |
|
|
</div>
|
94 |
|
|
</tr>
|
95 |
|
|
<tr>
|
96 |
|
|
<div class="form-group">
|
97 |
|
|
<td><label for="subject_L">Locality:</label></td>
|
98 |
|
|
<td class="pl-3"><input type="text" id="subject_L" name="subject_L" class="form-control"></td>
|
99 |
|
|
</div>
|
100 |
|
|
</tr>
|
101 |
|
|
<tr>
|
102 |
|
|
<div class="form-group">
|
103 |
|
|
<td><label for="subject_ST">Province/State:</label></td>
|
104 |
|
|
<td class="pl-3"><input type="text" id="subject_ST" name="subject_ST" class="form-control"></td>
|
105 |
|
|
</div>
|
106 |
|
|
</tr>
|
107 |
|
|
<tr>
|
108 |
|
|
<div class="form-group">
|
109 |
|
|
<td><label for="subject_O">Organization:</label></td>
|
110 |
|
|
<td class="pl-3"><input type="text" id="subject_O" name="subject_O" class="form-control"></td>
|
111 |
|
|
</div>
|
112 |
|
|
</tr>
|
113 |
|
|
<tr>
|
114 |
|
|
<div class="form-group">
|
115 |
|
|
<td><label for="subject_OU">Organization Unit:</label></td>
|
116 |
|
|
<td class="pl-3"><input type="text" id="subject_OU" name="subject_OU" class="form-control"></td>
|
117 |
|
|
</div>
|
118 |
|
|
</tr>
|
119 |
|
|
<tr>
|
120 |
|
|
<div class="form-group">
|
121 |
|
|
<td><label for="subject_emailAddress">Email:</label></td>
|
122 |
|
|
<td class="pl-3"><input type="email" id="subject_emailAddress" name="subject_emailAddress" class="form-control"></td>
|
123 |
|
|
</div>
|
124 |
|
|
</tr>
|
125 |
|
|
<tr>
|
126 |
|
|
<td>Usage:</td>
|
127 |
|
|
<td class="form-check">
|
128 |
|
|
<input class="form-check-input" type="checkbox" id="isCA" name="isCA" value="CA">
|
129 |
|
|
<label class="form-check-label" for="isCA">CA</label><br>
|
130 |
816f0e98
|
Jan Pašek
|
|
131 |
13625353
|
Jan Pašek
|
<input class="form-check-input" type="checkbox" id="isDigitalSignature" name="isDigitalSignature" value="DigitalSignature">
|
132 |
|
|
<label class="form-check-label" for="isDigitalSignature">Digital Signature</label><br>
|
133 |
816f0e98
|
Jan Pašek
|
|
134 |
13625353
|
Jan Pašek
|
<input class="form-check-input" type="checkbox" id="isAuthentication" name="isAuthentication" value="Authentication">
|
135 |
|
|
<label class="form-check-label" for="isAuthentication">Authentication</label><br>
|
136 |
816f0e98
|
Jan Pašek
|
|
137 |
13625353
|
Jan Pašek
|
<input class="form-check-input" type="checkbox" id="isSSL_TLS" name="isSSL_TLS" value="SSL_TLS">
|
138 |
|
|
<label class="form-check-label" for="isSSL_TLS">SSL/TLS</label><br>
|
139 |
|
|
</td>
|
140 |
|
|
</tr>
|
141 |
|
|
<tr>
|
142 |
|
|
<td colspan="2" align="center">
|
143 |
|
|
<button class="btn btn-success mt-3" onclick="window.location.href = '/static/index.html';">Create certificate</button>
|
144 |
|
|
</td>
|
145 |
|
|
</tr>
|
146 |
|
|
</table>
|
147 |
|
|
</div>
|
148 |
816f0e98
|
Jan Pašek
|
</body>
|
149 |
|
|
</html>
|