2015-09-04 13:36:49 +00:00
|
|
|
<!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 %}
|
2018-10-01 13:08:27 +00:00
|
|
|
<td>
|
|
|
|
{% if res.Certificate %}
|
|
|
|
<abbr title="{{ res.Certificate.DNSNames | join:', ' }}">{{ host }}</abbr>
|
|
|
|
{% else %}
|
|
|
|
{{ host }}
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
<td>{% if res.Certificate %}{{ res.Certificate.Issuer.CommonName }}{% endif %}</td>
|
|
|
|
<td>{% if res.Certificate %}{{ res.Certificate.NotAfter | time:"2006-01-02 15:04:05 MST" }}{% endif %}</td>
|
2015-09-04 13:36:49 +00:00
|
|
|
<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>
|