aboutsummaryrefslogtreecommitdiffstats
path: root/certificates.md
diff options
context:
space:
mode:
authorMatt Rude <[email protected]>2018-02-04 02:19:51 -0600
committerMatt Rude <[email protected]>2018-02-04 02:19:51 -0600
commit043168573a7ec53dd61583bbcabd34b4a0587cce (patch)
treed54257d8bad4c0df46ae4c940e25047284c0d966 /certificates.md
parentaa6027a82f3840989be22f5aeba9b23d7bf8955d (diff)
downloadxmpp-site-lite-043168573a7ec53dd61583bbcabd34b4a0587cce.tar.gz
xmpp-site-lite-043168573a7ec53dd61583bbcabd34b4a0587cce.tar.bz2
xmpp-site-lite-043168573a7ec53dd61583bbcabd34b4a0587cce.zip
more format upates
Diffstat (limited to 'certificates.md')
-rw-r--r--certificates.md112
1 files changed, 112 insertions, 0 deletions
diff --git a/certificates.md b/certificates.md
new file mode 100644
index 0000000..ca5d465
--- /dev/null
+++ b/certificates.md
@@ -0,0 +1,112 @@
+---
+layout: default
+title: Server Certificates
+permalink: /certificates/
+---
+
+# Server Certificates
+One of the benefits of communicating via XMPP is the level of security involved. To allow users to validate the servers they are connecting to, below is the current fingerprints for each domain name.
+
+<div id="cert-table">
+<h2>{{ site.xmpp-url }}</h2>
+<p style="margin-top:-0.6em;"><small>(expires: {{ site.fingerprint-expires }})</small></p>
+{% if site.fingerprint-sha1 %}
+ <div class="cert-title">
+ <b>SHA1 Fingerprint</b>
+ </div>
+ <div class="cert-content">
+ <pre>{{ site.fingerprint-sha1 }}</pre>
+ </div>
+{% endif %}
+{% if site.fingerprint-sha256 %}
+ <div class="cert-title">
+ <b>SHA256 Fingerprint</b>
+ </div>
+ <div class="cert-content">
+ <pre>{{ site.fingerprint-sha256 }}</pre>
+ </div>
+{% endif %}
+{% if site.xmpp-host %}
+<h2>{{ site.xmpp-host }}</h2>
+<p style="margin-top:-0.6em;"><small>(expires: {{ site.fingerprint-im-expires }})</small></p>
+{% if site.xmpp-host and site.fingerprint-im-sha1 %}
+ <div class="cert-title">
+ <b>SHA1 Fingerprint</b>
+ </div>
+ <div class="cert-content">
+ <pre>{{ site.fingerprint-im-sha1 }}</pre>
+ </div>
+{% endif %}
+{% if site.xmpp-host and site.fingerprint-im-sha256 %}
+ <div class="cert-title">
+ <b>SHA256 Fingerprint</b>
+ </div>
+ <div class="cert-content">
+ <pre>{{ site.fingerprint-im-sha256 }}</pre>
+ </div>
+{% endif %}
+{% endif %}
+{% if site.xmpp-conference-url and site.xep-0045 == 1 %}
+<h2>{{ site.xmpp-conference-url }}</h2>
+<p style="margin-top:-0.6em;"><small>(expires: {{ site.fingerprint-conference-expires }})</small></p>
+{% if site.xmpp-conference-url and site.xep-0045 == 1 and site.fingerprint-conference-sha1 %}
+ <div class="cert-title">
+ <b>SHA1 Fingerprint</b>
+ </div>
+ <div class="cert-content">
+ <pre>{{ site.fingerprint-conference-sha1 }}</pre>
+ </div>
+{% endif %}
+{% if site.xmpp-conference-url and site.xep-0045 == 1 and site.fingerprint-conference-sha256 %}
+ <div class="cert-title">
+ <b>SHA256 Fingerprint</b>
+ </div>
+ <div class="cert-content">
+ <pre>{{ site.fingerprint-conference-sha256 }}</pre>
+ </div>
+{% endif %}
+{% endif %}
+{% if site.xmpp-proxy-url and site.xep-0065 == 1 %}
+<h2>{{ site.xmpp-proxy-url }}</h2>
+<p style="margin-top:-0.6em;"><small>(expires: {{ site.fingerprint-proxy-expires }})</small></p>
+{% if site.xmpp-proxy-url and site.xep-0065 == 1 and site.fingerprint-proxy-sha1 %}
+ <div class="cert-title">
+ <b>SHA1 Fingerprint</b>
+ </div>
+ <div class="cert-content">
+ <pre>{{ site.fingerprint-proxy-sha1 }}</pre>
+ </div>
+{% endif %}
+{% if site.xmpp-proxy-url and site.xep-0065 == 1 and site.fingerprint-proxy-sha256 %}
+ <div class="cert-title">
+ <b>SHA256 Fingerprint</b>
+ </div>
+ <div class="cert-content">
+ <pre>{{ site.fingerprint-proxy-sha256 }}</pre>
+ </div>
+{% endif %}
+{% endif %}
+{% if site.xmpp-upload-url and site.xep-0363 == 1 %}
+<h2>{{ site.xmpp-upload-url }}</h2>
+<p style="margin-top:-0.6em;"><small>(expires: {{ site.fingerprint-upload-expires }})</small></p>
+{% if site.xmpp-upload-url and site.xep-0363 == 1 and site.fingerprint-upload-sha1 %}
+ <div class="cert-title">
+ <b>SHA1 Fingerprint</b>
+ </div>
+ <div class="cert-content">
+ <pre>{{ site.fingerprint-upload-sha1 }}</pre>
+ </div>
+{% endif %}
+{% if site.xmpp-upload-url and site.xep-0363 == 1 and site.fingerprint-upload-sha256 %}
+ <div class="cert-title">
+ <b>SHA256 Fingerprint</b>
+ </div>
+ <div class="cert-content">
+ <pre>{{ site.fingerprint-upload-sha256 }}</pre>
+ </div>
+{% endif %}
+{% endif %}
+</div> <!-- Closing cert-table id div -->
+
+<p style='text-align:right;'><a href="https://check.messaging.one/result.php?domain={{ site.xmpp-url }}&amp;type=server"><img src="https://check.messaging.one/badge.php?domain={{ site.xmpp-url }}" alt="check.messaging.one server score" /></a></p>
+