This commit is contained in:
1 parent
4cce5754d3
commit
0f777d3e68
8 files changed
+333
-213
No files matched your search
+193
-174
@@ -62,13 +62,15 @@
|
||||
</button>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<button
|
||||
<a
|
||||
type="button"
|
||||
class="btn btn-primary"
|
||||
id="downloadrootcert"
|
||||
href="/api/certs/download/?domain=root"
|
||||
download="root.zip"
|
||||
>
|
||||
Download Root Certificate
|
||||
</button>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -91,71 +93,78 @@
|
||||
></button>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="domain"
|
||||
class="form-control"
|
||||
placeholder="example.domain"
|
||||
/>
|
||||
<label for="domain">Domain</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="commonname"
|
||||
class="form-control"
|
||||
placeholder="commonname"
|
||||
/>
|
||||
<label for="commonname">Common Name</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="organizationname"
|
||||
class="form-control"
|
||||
placeholder="organizationname"
|
||||
/>
|
||||
<label for="organizationname"
|
||||
>Organization Name</label
|
||||
>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="organizationunit"
|
||||
class="form-control"
|
||||
placeholder="organizationunit"
|
||||
/>
|
||||
<label for="organizationunit"
|
||||
>Organization Unit</label
|
||||
>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="password"
|
||||
id="password"
|
||||
class="form-control"
|
||||
placeholder="example.domain"
|
||||
/>
|
||||
<label for="password">RootCA password</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button
|
||||
type="button"
|
||||
data-bs-dismiss="modal"
|
||||
class="btn btn-secondary"
|
||||
>
|
||||
Close
|
||||
</button>
|
||||
<button
|
||||
id="createcert"
|
||||
type="button"
|
||||
class="btn btn-primary"
|
||||
>
|
||||
Create
|
||||
</button>
|
||||
<form id="create_certificate_form">
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="domain"
|
||||
class="form-control"
|
||||
placeholder="example.domain"
|
||||
required
|
||||
/>
|
||||
<label for="domain">Domain</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="commonname"
|
||||
class="form-control"
|
||||
placeholder="commonname"
|
||||
required
|
||||
/>
|
||||
<label for="commonname">Common Name</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="organizationname"
|
||||
class="form-control"
|
||||
placeholder="organizationname"
|
||||
required
|
||||
/>
|
||||
<label for="organizationname"
|
||||
>Organization Name</label
|
||||
>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="organizationunit"
|
||||
class="form-control"
|
||||
placeholder="organizationunit"
|
||||
required
|
||||
/>
|
||||
<label for="organizationunit"
|
||||
>Organization Unit</label
|
||||
>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="password"
|
||||
id="password"
|
||||
class="form-control"
|
||||
placeholder="example.domain"
|
||||
required
|
||||
/>
|
||||
<label for="password">RootCA password</label>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button
|
||||
type="button"
|
||||
data-bs-dismiss="modal"
|
||||
class="btn btn-secondary"
|
||||
>
|
||||
Close
|
||||
</button>
|
||||
<button
|
||||
id="createcert"
|
||||
type="submit"
|
||||
class="btn btn-primary"
|
||||
>
|
||||
Create
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -315,114 +324,124 @@
|
||||
</h5>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootcommonname"
|
||||
class="form-control"
|
||||
placeholder="example.domain"
|
||||
/>
|
||||
<label for="rootcommonname">Common Name</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootorganizationname"
|
||||
class="form-control"
|
||||
placeholder="organizationname"
|
||||
/>
|
||||
<label for="rootorganizationname"
|
||||
>Organization Name</label
|
||||
<form id="createRootCertificateForm">
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootcommonname"
|
||||
class="form-control"
|
||||
placeholder="example.domain"
|
||||
required
|
||||
/>
|
||||
<label for="rootcommonname">Common Name</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootorganizationname"
|
||||
class="form-control"
|
||||
placeholder="organizationname"
|
||||
required
|
||||
/>
|
||||
<label for="rootorganizationname"
|
||||
>Organization Name</label
|
||||
>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootorganizationalunit"
|
||||
class="form-control"
|
||||
placeholder="organizationalunit"
|
||||
required
|
||||
/>
|
||||
<label for="rootorganizationalunit"
|
||||
>Organizational Unit</label
|
||||
>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootCountry"
|
||||
class="form-control"
|
||||
placeholder="Country"
|
||||
required
|
||||
/>
|
||||
<label for="rootCountry">Country</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootLocality"
|
||||
class="form-control"
|
||||
placeholder="Asia/Novosibirsk"
|
||||
required
|
||||
/>
|
||||
<label for="rootLocality">Locality</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootProvince"
|
||||
class="form-control"
|
||||
placeholder="Tomsk Oblast"
|
||||
required
|
||||
/>
|
||||
<label for="rootProvince">Province</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootStreetAddress"
|
||||
class="form-control"
|
||||
placeholder="Tomsk Oblast, Russia"
|
||||
required
|
||||
/>
|
||||
<label for="rootStreetAddress"
|
||||
>Street address</label
|
||||
>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootPostalCode"
|
||||
class="form-control"
|
||||
placeholder="646037"
|
||||
required
|
||||
/>
|
||||
<label for="rootPostalCode">Postal code</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="number"
|
||||
id="rootValidityYears"
|
||||
class="form-control"
|
||||
placeholder="10"
|
||||
required
|
||||
/>
|
||||
<label for="rootValidityYears"
|
||||
>Validity years</label
|
||||
>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="password"
|
||||
id="rootkeypassword"
|
||||
class="form-control"
|
||||
placeholder="Password"
|
||||
required
|
||||
/>
|
||||
<label for="rootkeypassword">Password</label>
|
||||
</div>
|
||||
<button
|
||||
id="createRootCrt"
|
||||
type="submit"
|
||||
class="btn btn-primary"
|
||||
style="width: 100%"
|
||||
>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootorganizationalunit"
|
||||
class="form-control"
|
||||
placeholder="organizationalunit"
|
||||
/>
|
||||
<label for="rootorganizationalunit"
|
||||
>Organizational Unit</label
|
||||
>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootCountry"
|
||||
class="form-control"
|
||||
placeholder="Country"
|
||||
/>
|
||||
<label for="rootCountry">Country</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootLocality"
|
||||
class="form-control"
|
||||
placeholder="Asia/Novosibirsk"
|
||||
/>
|
||||
<label for="rootLocality">Locality</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootProvince"
|
||||
class="form-control"
|
||||
placeholder="Tomsk Oblast"
|
||||
/>
|
||||
<label for="rootProvince">Province</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootStreetAddress"
|
||||
class="form-control"
|
||||
placeholder="Tomsk Oblast, Russia"
|
||||
/>
|
||||
<label for="rootStreetAddress"
|
||||
>Street address</label
|
||||
>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="text"
|
||||
id="rootPostalCode"
|
||||
class="form-control"
|
||||
placeholder="646037"
|
||||
/>
|
||||
<label for="rootPostalCode">Postal code</label>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="number"
|
||||
id="rootValidityYears"
|
||||
class="form-control"
|
||||
placeholder="10"
|
||||
/>
|
||||
<label for="rootValidityYears"
|
||||
>Validity years</label
|
||||
>
|
||||
</div>
|
||||
<div class="form-floating mb-3">
|
||||
<input
|
||||
type="password"
|
||||
id="rootkeypassword"
|
||||
class="form-control"
|
||||
placeholder="Password"
|
||||
/>
|
||||
<label for="rootkeypassword">Password</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button
|
||||
id="createRootCrt"
|
||||
type="button"
|
||||
class="btn btn-primary"
|
||||
style="width: 100%"
|
||||
>
|
||||
Create
|
||||
</button>
|
||||
Create
|
||||
</button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user