mirror of
https://github.com/Luzifer/promcertcheck.git
synced 2024-11-08 16:00:08 +00:00
66 lines
2.6 KiB
HTML
66 lines
2.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
|
|
<title>Certificate validation results</title>
|
|
|
|
<!-- Bootstrap -->
|
|
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
|
|
|
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
|
<!--[if lt IE 9]>
|
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
|
<![endif]-->
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="row" style="height:20px"></div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
Certificate validation results
|
|
</div>
|
|
<div class="panel-body">
|
|
<table class="table table-striped">
|
|
<tr>
|
|
<th>Host</th><th>Issuer</th><th>Valid until</th><th>Result</th>
|
|
</tr>
|
|
{% for host, res in results sorted %}
|
|
{% if res.Status == certificateOK %}
|
|
<tr>
|
|
{% elif res.Status == certificateExpiresSoon %}
|
|
<tr class="warning">
|
|
{% else %}
|
|
<tr class="danger">
|
|
{% endif %}
|
|
<td><abbr title="{{ res.Certificate.DNSNames | join:', ' }}">{{ host }}</abbr></td>
|
|
<td>{{ res.Certificate.Issuer.CommonName }}</td>
|
|
<td>{{ res.Certificate.NotAfter }}</td>
|
|
<td>{{ res.Status.String() }}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
<div class="panel-footer">
|
|
<a href="https://github.com/Luzifer/promcertcheck">PromCertcheck {{ version }}</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
|
|
<!-- Include all compiled plugins (below), or include individual files as needed -->
|
|
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
|
|
</body>
|
|
</html>
|