Projekt

Obecné

Profil

Stáhnout (7.89 KB) Statistiky
| Větev: | Tag: | Revize:
1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
    <meta charset="UTF-8">
5
    <title>X.509 Certificate Management</title>
6
    <link rel="stylesheet" href="/static/css/bootstrap.min.css">
7
</head>
8
<body class="p-4">
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">
42
                        <input type="text" id="issuer_CN" name="issuer_CN" class="form-control" v-bind:value="selectedCA.CN" disabled>
43
                    </td>
44
                </div>
45
            </tr>
46
            <tr>
47
                <div class="form-group">
48
                    <td><label for="issuer_C">Country Code:</label></td>
49
                    <td class="pl-3">
50
                        <input type="text" id="issuer_C" name="issuer_C" class="form-control" v-bind:value="selectedCA.C"  disabled>
51
                    </td>
52
                </div>
53
            </tr>
54
            <tr>
55
                <div class="form-group">
56
                    <td><label for="issuer_L">Locality:</label></td>
57
                    <td class="pl-3">
58
                        <input type="text" id="issuer_L" name="issuer_L" class="form-control" v-bind:value="selectedCA.L" disabled>
59
                    </td>
60
                </div>
61
            </tr>
62
            <tr>
63
                <div class="form-group">
64
                    <td><label for="issuer_ST">Province/State:</label></td>
65
                    <td class="pl-3">
66
                        <input type="text" id="issuer_ST" name="issuer_ST" class="form-control" v-bind:value="selectedCA.ST" disabled>
67
                    </td>
68
                </div>
69
            </tr>
70
            <tr>
71
                <div class="form-group">
72
                    <td><label for="issuer_O">Organization:</label></td>
73
                    <td class="pl-3">
74
                        <input type="text" id="issuer_O" name="issuer_O" class="form-control" v-bind:value="selectedCA.O" disabled>
75
                    </td>
76
                </div>
77
            </tr>
78
            <tr>
79
                <div class="form-group">
80
                    <td><label for="issuer_OU">Organization Unit:</label></td>
81
                    <td class="pl-3">
82
                        <input type="text" id="issuer_OU" name="issuer_OU" class="form-control" v-bind:value="selectedCA.OU" disabled>
83
                    </td>
84
                </div>
85
            </tr>
86
            <tr>
87
                <div class="form-group">
88
                    <td><label for="issuer_emailAddress">Email:</label></td>
89
                    <td class="pl-3">
90
                        <input type="email" id="issuer_emailAddress" name="issuer_emailAddress" class="form-control" v-bind:value="selectedCA.emailAddress" disabled>
91
                    </td>
92
                </div>
93
            </tr>
94
            <tr>
95
                <td colspan="2"><h5>Subject</h5></td>
96
            </tr>
97
            <tr>
98
                <div class="form-group">
99
                    <td><label for="subject_CN">Common Name:</label></td>
100
                    <td class="pl-3"><input type="text" id="subject_CN" name="subject_CN" class="form-control"></td>
101
                </div>
102
            </tr>
103
            <tr>
104
                <div class="form-group">
105
                    <td><label for="subject_C">Country Code:</label></td>
106
                    <td class="pl-3"><input type="text" id="subject_C" name="subject_C" class="form-control"></td>
107
                </div>
108
            </tr>
109
            <tr>
110
                <div class="form-group">
111
                    <td><label for="subject_L">Locality:</label></td>
112
                    <td class="pl-3"><input type="text" id="subject_L" name="subject_L" class="form-control"></td>
113
                </div>
114
            </tr>
115
            <tr>
116
                <div class="form-group">
117
                    <td><label for="subject_ST">Province/State:</label></td>
118
                    <td class="pl-3"><input type="text" id="subject_ST" name="subject_ST" class="form-control"></td>
119
                </div>
120
            </tr>
121
            <tr>
122
                <div class="form-group">
123
                    <td><label for="subject_O">Organization:</label></td>
124
                    <td class="pl-3"><input type="text" id="subject_O" name="subject_O" class="form-control"></td>
125
                </div>
126
            </tr>
127
            <tr>
128
                <div class="form-group">
129
                    <td><label for="subject_OU">Organization Unit:</label></td>
130
                    <td class="pl-3"><input type="text" id="subject_OU" name="subject_OU" class="form-control"></td>
131
                </div>
132
            </tr>
133
            <tr>
134
                <div class="form-group">
135
                    <td><label for="subject_emailAddress">Email:</label></td>
136
                    <td class="pl-3"><input type="email" id="subject_emailAddress" name="subject_emailAddress" class="form-control"></td>
137
                </div>
138
            </tr>
139
            <tr>
140
                <td>Usage:</td>
141
                <td class="form-check">
142
                    <input class="form-check-input" type="checkbox" id="isCA" name="isCA" value="CA">
143
                    <label class="form-check-label" for="isCA">CA</label><br>
144

    
145
                    <input class="form-check-input" type="checkbox" id="isDigitalSignature" name="isDigitalSignature" value="DigitalSignature">
146
                    <label class="form-check-label" for="isDigitalSignature">Digital Signature</label><br>
147

    
148
                    <input class="form-check-input" type="checkbox" id="isAuthentication" name="isAuthentication" value="Authentication">
149
                    <label class="form-check-label" for="isAuthentication">Authentication</label><br>
150

    
151
                    <input class="form-check-input" type="checkbox" id="isSSL_TLS" name="isSSL_TLS" value="SSL_TLS">
152
                    <label class="form-check-label" for="isSSL_TLS">SSL/TLS</label><br>
153
                </td>
154
            </tr>
155
            <tr>
156
                <td colspan="2" align="center">
157
                    <button class="btn btn-success mt-3" onclick="window.location.href = '/static/index.html';">Create certificate</button>
158
                </td>
159
            </tr>
160
        </table>
161
    </div>
162

    
163
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
164
    <script src="/static/js/jquery-3.6.0.min.js"></script>
165
    <script src="/static/js/bootstrap.bundle.min.js"></script>
166
    <script src="/static/js/axios.min.js"></script>
167
    <script src="/static/js/constants.js"></script>
168
    <script src="/static/js/utilities.js"></script>
169
    <script src="/static/js/components.js"></script>
170
    <script src="/static/js/create_certificate.js"></script>
171
</body>
172
</html>
(1-1/3)