greenlock.html/index.html

238 lignes
6.9 KiB
HTML
Brut Vue normale Historique

2018-05-01 00:03:12 +00:00
<html>
<head>
<title>Greenlock&trade;</title>
2018-05-14 19:31:46 +00:00
<meta property="og:image" content="https://greenlock.ppl.family/img/greenlock-mark-400x400.png" />
2018-05-01 00:03:12 +00:00
</head>
2018-05-14 18:53:30 +00:00
<body hidden>
2018-05-14 19:26:42 +00:00
<img width="410px" src="img/greenlock-820x150.png">
2018-05-04 20:26:06 +00:00
<div>
<br>
<h3>Greenlock&trade; - Instant, Free SSL Certificates via Let's Encrypt v2</h3>
<br>
<br>
<br>
</div>
2018-05-01 08:15:41 +00:00
<!-- Step 1 Choose Domain(s) -->
<form class="js-acme-form js-acme-form-domains">
2018-05-04 20:26:06 +00:00
<h1><label>What's your domain?</label></h1>
2018-05-14 18:53:30 +00:00
<h4>Certificates are valid for 90 days. Renewal is free :)</h4>
2018-05-01 08:15:41 +00:00
<input class="js-acme-domains" type="text" placeholder="example.com,*.example.com" required>
2018-05-04 20:26:06 +00:00
<br>
2018-05-01 08:15:41 +00:00
<button type="submit">Next</button>
2018-05-04 20:26:06 +00:00
<br>
<br>
<br>
<label><input class="js-acme-api-type" name="acme-api-type" type="radio" value="v02" checked required>
Production</label>
<label><input class="js-acme-api-type" name="acme-api-type" type="radio" value="staging-v02" required>
Testing</label>
<br>
<input class="js-acme-directory-url" type="url" placeholder="ACME directory url">
2018-05-01 08:15:41 +00:00
</form>
<!-- Step 2 Create Account -->
<form class="js-acme-form js-acme-form-account">
2018-05-04 20:26:06 +00:00
<h1><label>What's your email?</label></h1>
2018-05-01 08:15:41 +00:00
<input class="js-acme-account-email" type="email" placeholder="john@doe.family" required>
2018-05-04 20:26:06 +00:00
<br>
2018-05-04 20:35:34 +00:00
<br>
2018-05-01 08:15:41 +00:00
<label><input class="js-acme-account-tos" type="checkbox" required>
2018-05-04 23:59:26 +00:00
Agree to <a class="js-acme-tos-url" target="acme-tos">Let's Encrypt&trade; Terms of Service</a>?</label>
2018-05-04 20:26:06 +00:00
<br>
2018-05-04 20:35:34 +00:00
<br>
2018-05-01 08:15:41 +00:00
<label><input class="js-greenlock-account-tos" type="checkbox" required>
2018-05-04 23:59:26 +00:00
Agree to <a class="js-gl-tos" target="_blank" href="./legal.html">Greenlock&trade; Terms of Service</a>?</label>
2018-05-04 20:26:06 +00:00
<br>
2018-05-04 20:35:34 +00:00
<br>
<!--
2018-05-01 08:15:41 +00:00
<a href="#">advanced (use existing account)</a>
2018-05-04 20:26:06 +00:00
<br>
2018-05-04 20:35:34 +00:00
<br>
-->
2018-05-01 08:15:41 +00:00
<button type="submit">Next</button>
</form>
<!-- Step 3 Set Challanges -->
<form class="js-acme-form js-acme-form-challenges">
2018-05-04 08:40:04 +00:00
2018-05-04 20:26:06 +00:00
<h1>How will you validate your domain?</h1>
<br>
2018-05-04 08:40:04 +00:00
<label><input class="js-acme-challenge-type" name="acme-challenge-type" type="radio" value="http-01" checked required>
2018-05-01 08:15:41 +00:00
File Upload to HTTP Web Server</label>
2018-05-04 20:26:06 +00:00
<br>
2018-05-04 08:40:04 +00:00
<label><input class="js-acme-challenge-type" name="acme-challenge-type" type="radio" value="dns-01" required>
2018-05-01 08:15:41 +00:00
TXT Records on DNS Name Server</label>
2018-05-04 20:26:06 +00:00
<br>
2018-05-01 08:15:41 +00:00
2018-05-04 20:26:06 +00:00
<div class="js-acme-challenges">
<h2>Verify Domains &amp; Sub-Domains</h2>
2018-05-01 08:15:41 +00:00
<table class="js-acme-table-http-01">
<thead>
<tr>
<th>Hostname</th>
<th>File Location</th>
<th>File Contents</th>
</tr>
</thead>
<tbody>
<tr>
<td>example.com</td>
<td>.well-known/acme-challenge/xxx</td>
<td>sec.ret</td>
</tr>
</tbody>
</table>
<table class="js-acme-table-dns-01">
<thead>
<tr>
<th>Hostname</th>
<th>TXT Host</th>
<th>TXT Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>example.com</td>
<td>_acme-challenge.example.com</td>
<td>4A54</td>
</tr>
</tbody>
</table>
2018-05-04 08:40:04 +00:00
</div>
2018-05-01 08:15:41 +00:00
2018-05-04 08:40:04 +00:00
<div class="js-acme-wildcard">
2018-05-04 20:26:06 +00:00
<h2>Verify Wildcard Domains</h2>
2018-05-01 08:15:41 +00:00
2018-05-04 08:40:04 +00:00
<table class="js-acme-table-wildcard">
2018-05-01 08:15:41 +00:00
<thead>
<tr>
<th>Hostname</th>
<th>TXT Host</th>
<th>TXT Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>example.com</td>
<td>_acme-challenge.example.com</td>
<td>4A54</td>
</tr>
</tbody>
</table>
</div>
<button type="submit">Next</button>
</form>
<!-- Step 4 Process Challanges -->
<form class="js-acme-form js-acme-form-poll">
2018-05-04 20:26:06 +00:00
Verifying Domains... (give us 5 seconds or so...)
2018-05-01 08:15:41 +00:00
2018-05-04 20:26:06 +00:00
<!--
2018-05-01 08:15:41 +00:00
<table class="js-acme-table-verifying">
<thead>
<tr>
<th>Hostname</th>
<th>Type</th>
<th>Pass</th>
</tr>
</thead>
<tbody>
<tr>
<td>example.com</td>
<td>http-01</td>
<td>-</td>
</tr>
</tbody>
</table>
<a href="#">advanced (use existing keypair for domain)</a>
2018-05-01 00:03:12 +00:00
<button type="submit">Next</button>
2018-05-04 20:26:06 +00:00
-->
2018-05-01 00:03:12 +00:00
</form>
2018-05-04 11:10:43 +00:00
<!-- Step 5 Get Certs -->
2018-05-01 08:15:41 +00:00
<form class="js-acme-form js-acme-form-download">
2018-05-04 11:16:48 +00:00
<div>
2018-05-04 20:26:06 +00:00
<h2><label>privkey.pem</label></h2>
2018-05-04 20:35:34 +00:00
<textarea cols="80" rows="10" class="js-privkey">-</textarea>
2018-05-04 11:16:48 +00:00
</div>
2018-05-01 08:15:41 +00:00
2018-05-04 11:16:48 +00:00
<div>
2018-05-04 20:26:06 +00:00
<h2><label>fullchain.pem</label></h2>
2018-05-04 20:35:34 +00:00
<textarea cols="80" rows="60" class="js-fullchain">-</textarea>
2018-05-04 11:16:48 +00:00
</div>
<div>
<h3>node.js https server example</h3>
<pre><code>'use strict';
var https = require('https');
var server = https.createServer({
key: require('fs').readFileSync('./privkey.pem')
, cert: require('fs').readFileSync('./fullchain.pem')
}, function (req, res) {
res.end("Hello, World!");
}).listen(443, function () {
console.log('Listening on', this.address());
})
</code></pre>
</div>
2018-05-01 08:15:41 +00:00
2018-05-04 11:10:43 +00:00
<!--
TODO
2018-05-01 08:15:41 +00:00
<label>cert.pem</label>
2018-05-04 11:10:43 +00:00
<textarea class="js-cert">-</textarea>
2018-05-01 08:15:41 +00:00
<label>chain.pem</label>
2018-05-04 11:10:43 +00:00
<textarea class="js-chain">-</textarea>
2018-05-01 08:15:41 +00:00
<button type="button">Download SSL Certificates</button>
2018-05-04 11:16:48 +00:00
<br>
2018-05-01 08:15:41 +00:00
<a href="#">Advanced (copy and paste)</a>
2018-05-04 11:16:48 +00:00
<br>
2018-05-01 08:15:41 +00:00
<button type="submit">Start Over</button>
2018-05-04 11:16:48 +00:00
-->
2018-05-01 08:15:41 +00:00
</form>
2018-05-14 18:53:30 +00:00
<br>
<br>
<br>
<div><small>
<h3></h3>
<a href="https://git.coolaj86.com/coolaj86/greenlock.html">View Source</a> (git)
<!-- or
<pre><code>git clone https://git.coolaj86.com/coolaj86/greenlock.html.git</code></pre>
Or view the live site code (same as live-site branch):
<pre><code>wget https://greenlock.ppl.family --mirror --convert-links --adjust-extension --page-requisites --no-parent</code></pre>
</small></div>
-->
<script src="./js/bacme.js"></script>
<script src="./js/app.js"></script>
2018-05-01 00:03:12 +00:00
<script src="./js/pkijs.org/v1.3.33/common.js"></script>
<script src="./js/pkijs.org/v1.3.33/asn1.js"></script>
<script src="./js/pkijs.org/v1.3.33/x509_schema.js"></script>
<script src="./js/pkijs.org/v1.3.33/x509_simpl.js"></script>
2018-05-01 07:21:32 +00:00
<script src="./js/browser-csr/v1.0.0-alpha/csr.js"></script>
2018-05-14 18:55:21 +00:00
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-118745161-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-118745161-2');
</script>
2018-05-01 00:03:12 +00:00
</body>
</html>