Switch Out Fetch for a Sync Icon button to fetch Certificate Data, also updated the field certificate_public_key to a text field instead of varchar as it was causing a crash with large pub keys
This commit is contained in:
@@ -28,8 +28,10 @@
|
|||||||
<span class="input-group-text"><i class="fa fa-fw fa-globe"></i> https://</span>
|
<span class="input-group-text"><i class="fa fa-fw fa-globe"></i> https://</span>
|
||||||
</div>
|
</div>
|
||||||
<input type="text" class="form-control" name="domain" id="domain" placeholder="FQDN" required>
|
<input type="text" class="form-control" name="domain" id="domain" placeholder="FQDN" required>
|
||||||
|
<div class="input-group-append">
|
||||||
|
<button type="button" class="btn btn-secondary" onclick="fetchSSL()"><i class="fas fa-fw fa-sync-alt"></i></button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p align="right" onclick="fetchSSL()"><i>Fetch</i></p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|||||||
4
db.sql
4
db.sql
@@ -186,7 +186,7 @@ CREATE TABLE `certificates` (
|
|||||||
`certificate_domain` varchar(200) DEFAULT NULL,
|
`certificate_domain` varchar(200) DEFAULT NULL,
|
||||||
`certificate_issued_by` varchar(200) NOT NULL,
|
`certificate_issued_by` varchar(200) NOT NULL,
|
||||||
`certificate_expire` date DEFAULT NULL,
|
`certificate_expire` date DEFAULT NULL,
|
||||||
`certificate_public_key` varchar(1500) DEFAULT NULL,
|
`certificate_public_key` text DEFAULT NULL,
|
||||||
`certificate_notes` text DEFAULT NULL,
|
`certificate_notes` text DEFAULT NULL,
|
||||||
`certificate_created_at` datetime NOT NULL,
|
`certificate_created_at` datetime NOT NULL,
|
||||||
`certificate_updated_at` datetime DEFAULT NULL,
|
`certificate_updated_at` datetime DEFAULT NULL,
|
||||||
@@ -1217,4 +1217,4 @@ CREATE TABLE `vendors` (
|
|||||||
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|
||||||
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
|
||||||
|
|
||||||
-- Dump completed on 2022-01-16 15:27:33
|
-- Dump completed on 2022-01-18 16:18:01
|
||||||
|
|||||||
@@ -28,8 +28,10 @@
|
|||||||
<span class="input-group-text"><i class="fa fa-fw fa-globe"></i> https://</span>
|
<span class="input-group-text"><i class="fa fa-fw fa-globe"></i> https://</span>
|
||||||
</div>
|
</div>
|
||||||
<input type="text" class="form-control" name="domain" placeholder="Domain" id="domain" value="<?php echo $certificate_domain; ?>" required>
|
<input type="text" class="form-control" name="domain" placeholder="Domain" id="domain" value="<?php echo $certificate_domain; ?>" required>
|
||||||
|
<div class="input-group-append">
|
||||||
|
<button type="button" class="btn btn-secondary" onclick="fetchSSL()"><i class="fas fa-fw fa-sync-alt"></i></button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p align="right" onclick="fetchSSL()"><i>Fetch</i></p>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
|||||||
Reference in New Issue
Block a user