Revize 13625353
Přidáno uživatelem Jan Pašek před asi 4 roky(ů)
static/create_certificate.html | ||
---|---|---|
6 | 6 |
<link rel="stylesheet" href="/static/css/bootstrap.min.css"> |
7 | 7 |
</head> |
8 | 8 |
<body class="p-4"> |
9 |
<h1>Create Certificate</h1> |
|
9 |
<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> |
|
10 | 130 |
|
11 |
<table> |
|
12 |
<tr> |
|
13 |
<div class="form-group"> |
|
14 |
<td><label for="CA">Choose a car:</label></td> |
|
15 |
<td> |
|
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><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><input type="date" id="validity_end" name="validity_end" class="form-control"></td> |
|
33 |
</div> |
|
34 |
</tr> |
|
35 |
<tr> |
|
36 |
<div class="form-group"> |
|
37 |
<td><label for="issuer_CN">Common Name:</label></td> |
|
38 |
<td><input type="text" id="issuer_CN" name="issuer_CN" class="form-control" disabled></td> |
|
39 |
</div> |
|
40 |
</tr> |
|
41 |
<tr> |
|
42 |
<div class="form-group"> |
|
43 |
<td><label for="issuer_C">Country Code:</label></td> |
|
44 |
<td><input type="text" id="issuer_C" name="issuer_C" class="form-control" disabled></td> |
|
45 |
</div> |
|
46 |
</tr> |
|
47 |
<tr> |
|
48 |
<div class="form-group"> |
|
49 |
<td><label for="issuer_L">Locality:</label></td> |
|
50 |
<td><input type="text" id="issuer_L" name="issuer_L" class="form-control" disabled></td> |
|
51 |
</div> |
|
52 |
</tr> |
|
53 |
<tr> |
|
54 |
<div class="form-group"> |
|
55 |
<td><label for="issuer_ST">Province/State:</label></td> |
|
56 |
<td><input type="text" id="issuer_ST" name="issuer_ST" class="form-control" disabled></td> |
|
57 |
</div> |
|
58 |
</tr> |
|
59 |
<tr> |
|
60 |
<div class="form-group"> |
|
61 |
<td><label for="issuer_O">Organization:</label></td> |
|
62 |
<td><input type="text" id="issuer_O" name="issuer_O" class="form-control" disabled></td> |
|
63 |
</div> |
|
64 |
</tr> |
|
65 |
<tr> |
|
66 |
<div class="form-group"> |
|
67 |
<td><label for="issuer_OU">Organization Unit:</label></td> |
|
68 |
<td><input type="text" id="issuer_OU" name="issuer_OU" class="form-control" disabled></td> |
|
69 |
</div> |
|
70 |
</tr> |
|
71 |
<tr> |
|
72 |
<div class="form-group"> |
|
73 |
<td><label for="issuer_emailAddress">Email:</label></td> |
|
74 |
<td><input type="email" id="issuer_emailAddress" name="issuer_emailAddress" class="form-control" disabled></td> |
|
75 |
</div> |
|
76 |
</tr> |
|
77 |
<tr> |
|
78 |
<div class="form-group"> |
|
79 |
<td><label for="subject_CN">Common Name:</label></td> |
|
80 |
<td><input type="text" id="subject_CN" name="subject_CN" class="form-control"></td> |
|
81 |
</div> |
|
82 |
</tr> |
|
83 |
<tr> |
|
84 |
<div class="form-group"> |
|
85 |
<td><label for="subject_C">Country Code:</label></td> |
|
86 |
<td><input type="text" id="subject_C" name="subject_C" class="form-control"></td> |
|
87 |
</div> |
|
88 |
</tr> |
|
89 |
<tr> |
|
90 |
<div class="form-group"> |
|
91 |
<td><label for="subject_L">Locality:</label></td> |
|
92 |
<td><input type="text" id="subject_L" name="subject_L" class="form-control"></td> |
|
93 |
</div> |
|
94 |
</tr> |
|
95 |
<tr> |
|
96 |
<div class="form-group"> |
|
97 |
<td><label for="subject_ST">Province/State:</label></td> |
|
98 |
<td><input type="text" id="subject_ST" name="subject_ST" class="form-control"></td> |
|
99 |
</div> |
|
100 |
</tr> |
|
101 |
<tr> |
|
102 |
<div class="form-group"> |
|
103 |
<td><label for="subject_O">Organization:</label></td> |
|
104 |
<td><input type="text" id="subject_O" name="subject_O" class="form-control"></td> |
|
105 |
</div> |
|
106 |
</tr> |
|
107 |
<tr> |
|
108 |
<div class="form-group"> |
|
109 |
<td><label for="subject_OU">Organization Unit:</label></td> |
|
110 |
<td><input type="text" id="subject_OU" name="subject_OU" class="form-control"></td> |
|
111 |
</div> |
|
112 |
</tr> |
|
113 |
<tr> |
|
114 |
<div class="form-group"> |
|
115 |
<td><label for="subject_emailAddress">Email:</label></td> |
|
116 |
<td><input type="email" id="subject_emailAddress" name="subject_emailAddress" class="form-control"></td> |
|
117 |
</div> |
|
118 |
</tr> |
|
119 |
<tr> |
|
120 |
<td>Usage:</td> |
|
121 |
<td class="form-check"> |
|
122 |
<input class="form-check-input" type="checkbox" id="isCA" name="isCA" value="CA"> |
|
123 |
<label class="form-check-label" for="isCA">CA</label><br> |
|
124 |
|
|
125 |
<input class="form-check-input" type="checkbox" id="isDigitalSignature" name="isDigitalSignature" value="DigitalSignature"> |
|
126 |
<label class="form-check-label" for="isDigitalSignature">Digital Signature</label><br> |
|
131 |
<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> |
|
127 | 133 |
|
128 |
<input class="form-check-input" type="checkbox" id="isAuthentication" name="isAuthentication" value="Authentication"> |
|
129 |
<label class="form-check-label" for="isAuthentication">Authentication</label><br> |
|
134 |
<input class="form-check-input" type="checkbox" id="isAuthentication" name="isAuthentication" value="Authentication">
|
|
135 |
<label class="form-check-label" for="isAuthentication">Authentication</label><br>
|
|
130 | 136 |
|
131 |
<input class="form-check-input" type="checkbox" id="isSSL_TLS" name="isSSL_TLS" value="SSL_TLS"> |
|
132 |
<label class="form-check-label" for="isSSL_TLS">SSL/TLS</label><br> |
|
133 |
</td> |
|
134 |
</tr> |
|
135 |
<tr> |
|
136 |
<td colspan="2" align="center"> |
|
137 |
<button class="btn btn-success" onclick="window.location.href = '/static/index.html';">Create certificate</button> |
|
138 |
</td> |
|
139 |
</tr> |
|
140 |
</table> |
|
137 |
<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> |
|
141 | 148 |
</body> |
142 | 149 |
</html> |
Také k dispozici: Unified diff
Re #8474 - Separated issuer and subject in create_certificate.html