2024-05-22 10:42:13 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2024-05-22 15:03:26 +02:00
|
|
|
|
|
|
|
<head>
|
2024-05-23 13:31:28 +02:00
|
|
|
<title>Certificate Requester</title>
|
2024-05-22 15:03:26 +02:00
|
|
|
<script src="https://unpkg.com/htmx.org@1.9.4/dist/htmx.min.js"></script>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link href="css/style.css" rel="stylesheet">
|
|
|
|
</head>
|
|
|
|
|
2024-05-23 09:35:33 +02:00
|
|
|
<!-- Licensed under the GPL v3.0 -->
|
|
|
|
|
2024-05-22 15:03:26 +02:00
|
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<div id="main">
|
2024-05-23 14:10:36 +02:00
|
|
|
<b>
|
|
|
|
<p align="center"><a target="_blank" href="https://git.bulgariu.xyz/raul/cert400">Source Code</a></p>
|
|
|
|
<p align="center"><a href="cacert">Download CA certificate</a></p>
|
|
|
|
</b>
|
2024-05-23 13:31:28 +02:00
|
|
|
|
|
|
|
<h1>Certificate Requester</h1>
|
2024-05-22 15:03:26 +02:00
|
|
|
<form id='form' hx-encoding='multipart/form-data' hx-post='/api/upload'>
|
2024-05-23 09:35:33 +02:00
|
|
|
Serial Number:
|
2024-05-24 10:22:33 +02:00
|
|
|
<input type="text" name="formSerNum" value="{{ .default_serial_number }}">
|
2024-05-23 09:35:33 +02:00
|
|
|
<br>
|
|
|
|
|
|
|
|
Organization:
|
2024-05-24 10:22:33 +02:00
|
|
|
<input type="text" name="formOrg" value="{{ .default_organization }}">
|
2024-05-23 09:35:33 +02:00
|
|
|
<br>
|
|
|
|
|
|
|
|
Country:
|
2024-05-24 10:22:33 +02:00
|
|
|
<input type="text" name="formCountry" value="{{ .default_country }}">
|
2024-05-22 15:03:26 +02:00
|
|
|
<br>
|
2024-05-23 09:35:33 +02:00
|
|
|
|
|
|
|
Province:
|
2024-05-24 10:22:33 +02:00
|
|
|
<input type="text" name="formProv" value="{{ .default_province }}">
|
2024-05-23 09:35:33 +02:00
|
|
|
<br>
|
|
|
|
|
|
|
|
Locality:
|
2024-05-24 10:22:33 +02:00
|
|
|
<input type="text" name="formLocal" value="{{ .default_locality }}">
|
2024-05-23 09:35:33 +02:00
|
|
|
<br>
|
|
|
|
|
|
|
|
Street Address:
|
2024-05-24 10:22:33 +02:00
|
|
|
<input type="text" name="formStreet" value="{{ .default_street_address }}">
|
2024-05-22 15:03:26 +02:00
|
|
|
<br>
|
2024-05-23 09:35:33 +02:00
|
|
|
|
|
|
|
Postal code:
|
2024-05-24 10:22:33 +02:00
|
|
|
<input type="text" name="formPostal" value="{{ .default_postal_code }}">
|
2024-05-23 09:35:33 +02:00
|
|
|
<br>
|
|
|
|
|
|
|
|
# of years before expiring:
|
2024-05-24 10:22:33 +02:00
|
|
|
<input type="text" name="formAge" value="{{ .default_not_after }}">
|
2024-05-23 09:35:33 +02:00
|
|
|
<br>
|
|
|
|
|
|
|
|
Certificate Bitsize:
|
2024-05-24 10:22:33 +02:00
|
|
|
<input type="text" name="formBit" value="{{ .default_rsa_bitsize }}">
|
2024-05-23 09:35:33 +02:00
|
|
|
<br>
|
|
|
|
|
|
|
|
DNS name:
|
2024-05-24 10:22:33 +02:00
|
|
|
<input type="text" name="formDNS" value="{{ .default_dns_name }}">
|
2024-05-23 09:35:33 +02:00
|
|
|
<br>
|
|
|
|
|
2024-05-22 15:03:26 +02:00
|
|
|
<button id="but">
|
2024-05-23 09:35:33 +02:00
|
|
|
Request
|
2024-05-22 15:03:26 +02:00
|
|
|
</button>
|
|
|
|
</form>
|
2024-05-23 14:10:36 +02:00
|
|
|
|
2024-05-22 15:03:26 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
|
2024-05-22 10:42:13 +02:00
|
|
|
</html>
|