Let's Encrypt v2 (ACME draft 11) client for your browser. Companion to greenlock.js
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

211 lines
5.8 KiB

5 years ago
<html>
<head>
<title>Greenlock&trade;</title>
</head>
<body>
5 years ago
<div>
<br>
<h3>Greenlock&trade; - Instant, Free SSL Certificates via Let's Encrypt v2</h3>
<br>
<br>
<br>
</div>
5 years ago
<!-- Step 1 Choose Domain(s) -->
<form class="js-acme-form js-acme-form-domains">
5 years ago
<h1><label>What's your domain?</label></h1>
5 years ago
<input class="js-acme-domains" type="text" placeholder="example.com,*.example.com" required>
5 years ago
<br>
5 years ago
<button type="submit">Next</button>
5 years ago
<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">
5 years ago
</form>
<!-- Step 2 Create Account -->
<form class="js-acme-form js-acme-form-account">
5 years ago
<h1><label>What's your email?</label></h1>
5 years ago
<input class="js-acme-account-email" type="email" placeholder="john@doe.family" required>
5 years ago
<br>
5 years ago
<br>
5 years ago
<label><input class="js-acme-account-tos" type="checkbox" required>
5 years ago
Agree to <a class="js-acme-tos-url" target="acme-tos">Let's Encrypt&trade; Terms of Service</a>?</label>
5 years ago
<br>
5 years ago
<br>
5 years ago
<label><input class="js-greenlock-account-tos" type="checkbox" required>
5 years ago
Agree to <a class="js-gl-tos" target="_blank" href="./legal.html">Greenlock&trade; Terms of Service</a>?</label>
5 years ago
<br>
5 years ago
<br>
<!--
5 years ago
<a href="#">advanced (use existing account)</a>
5 years ago
<br>
5 years ago
<br>
-->
5 years ago
<button type="submit">Next</button>
</form>
<!-- Step 3 Set Challanges -->
<form class="js-acme-form js-acme-form-challenges">
5 years ago
5 years ago
<h1>How will you validate your domain?</h1>
<br>
5 years ago
<label><input class="js-acme-challenge-type" name="acme-challenge-type" type="radio" value="http-01" checked required>
5 years ago
File Upload to HTTP Web Server</label>
5 years ago
<br>
5 years ago
<label><input class="js-acme-challenge-type" name="acme-challenge-type" type="radio" value="dns-01" required>
5 years ago
TXT Records on DNS Name Server</label>
5 years ago
<br>
5 years ago
5 years ago
<div class="js-acme-challenges">
<h2>Verify Domains &amp; Sub-Domains</h2>
5 years ago
<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>
5 years ago
</div>
5 years ago
5 years ago
<div class="js-acme-wildcard">
5 years ago
<h2>Verify Wildcard Domains</h2>
5 years ago
5 years ago
<table class="js-acme-table-wildcard">
5 years ago
<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">
5 years ago
Verifying Domains... (give us 5 seconds or so...)
5 years ago
5 years ago
<!--
5 years ago
<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>
5 years ago
<button type="submit">Next</button>
5 years ago
-->
5 years ago
</form>
5 years ago
<!-- Step 5 Get Certs -->
5 years ago
<form class="js-acme-form js-acme-form-download">
<div>
5 years ago
<h2><label>privkey.pem</label></h2>
5 years ago
<textarea cols="80" rows="10" class="js-privkey">-</textarea>
</div>
5 years ago
<div>
5 years ago
<h2><label>fullchain.pem</label></h2>
5 years ago
<textarea cols="80" rows="60" class="js-fullchain">-</textarea>
</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>
5 years ago
5 years ago
<!--
TODO
5 years ago
<label>cert.pem</label>
5 years ago
<textarea class="js-cert">-</textarea>
5 years ago
<label>chain.pem</label>
5 years ago
<textarea class="js-chain">-</textarea>
5 years ago
<button type="button">Download SSL Certificates</button>
<br>
5 years ago
<a href="#">Advanced (copy and paste)</a>
<br>
5 years ago
<button type="submit">Start Over</button>
-->
5 years ago
</form>
5 years ago
<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>
<script src="./js/browser-csr/v1.0.0-alpha/csr.js"></script>
<script src="./js/bacme.js"></script>
5 years ago
<script src="./js/app.js"></script>
</body>
</html>