369 regels
15 KiB
HTML
369 regels
15 KiB
HTML
<html>
|
|
<head>
|
|
<title>Greenlock™</title>
|
|
<meta property="og:image" content="https://greenlock.ppl.family/img/greenlock-mark-400x400.png" />
|
|
<style>
|
|
@font-face {
|
|
font-family: 'Source Sans Pro';
|
|
font-style: normal;
|
|
font-display: block;
|
|
font-weight: 400;
|
|
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(./fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7l.woff2) format('woff2');
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
}
|
|
@font-face {
|
|
font-family: 'Source Sans Pro';
|
|
font-style: normal;
|
|
font-weight: 700;
|
|
font-display: block;
|
|
src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(./fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdu.woff2) format('woff2');
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
}
|
|
@font-face {
|
|
font-family: 'Source Code Pro';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: local('Source Code Pro'), local('SourceCodePro-Regular'), url(./fonts/HI_SiYsKILxRpg3hIP6sJ7fM7PqlPevW.woff2) format('woff2');
|
|
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
|
}
|
|
</style>
|
|
|
|
<link href="styles/main.css" rel="stylesheet">
|
|
<link rel="preload" href="./fonts/6xKydSBYKcSV-LCoeQqfX1RYOo3ig4vwlxdu.woff2" as="font" crossorigin="anonymous">
|
|
<link rel="preload" href="./fonts/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7l.woff2" as="font" crossorigin="anonymous">
|
|
|
|
<link rel="preload" href="./fonts/HI_SiYsKILxRpg3hIP6sJ7fM7PqlPevW.woff2" as="font" crossorigin="anonymous">
|
|
<link rel="preload" href="./js/bacme.js" as="script">
|
|
<link rel="preload" href="./js/app.js" as="script">
|
|
<link rel="preload" href="./js/pkijs.org/v1.3.33/common.js" as="script">
|
|
<link rel="preload" href="./js/pkijs.org/v1.3.33/asn1.js" as="script">
|
|
<link rel="preload" href="./js/pkijs.org/v1.3.33/x509_schema.js" as="script">
|
|
<link rel="preload" href="./js/pkijs.org/v1.3.33/x509_simpl.js" as="script">
|
|
<link rel="preload" href="./js/browser-csr/v1.0.0-alpha/csr.js" as="script">
|
|
|
|
</head>
|
|
<body hidden>
|
|
<!-- let's define our SVG that we will reuse -->
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" viewBox="0 0 24 24">
|
|
<defs>
|
|
<g id="svg-check">
|
|
<path fill="none" d="M0 0h24v24H0z"/>
|
|
<path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/>
|
|
</g>
|
|
<g id="svg-checked">
|
|
<path d="M0 0h24v24H0z" fill="none"/>
|
|
<path d="M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/>
|
|
</g>
|
|
<g id="svg-unchecked">
|
|
<path d="M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"/>
|
|
<path d="M0 0h24v24H0z" fill="none"/>
|
|
</g>
|
|
<g id="svg-download">
|
|
<path d="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"/>
|
|
<path d="M0 0h24v24H0z" fill="none"/>
|
|
</g>
|
|
</defs>
|
|
</svg>
|
|
<div class="column-container wide">
|
|
<div class="header-row column-row">
|
|
<div id="js-progress-bar" class="progress-bar">
|
|
<div class="progress-bar-step">
|
|
<div class="circle">
|
|
<svg display="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
<use xlink:href="#svg-check"></use>
|
|
</svg>
|
|
</div>
|
|
<div class="progress-step-label"><div>Details</div></div>
|
|
</div>
|
|
<div class="progress-bar-step">
|
|
<div class="circle">
|
|
<svg display="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
<use xlink:href="#svg-check"></use>
|
|
</svg>
|
|
</div>
|
|
<div class="progress-step-label"><div>Verify domain</div></div>
|
|
</div>
|
|
<div class="progress-bar-step">
|
|
<div class="circle">
|
|
<svg display="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
<use xlink:href="#svg-check"></use>
|
|
</svg>
|
|
</div>
|
|
<div class="progress-step-label"><div>Install certificates</div></div>
|
|
</div>
|
|
<!-- hide until the steps are all updated
|
|
<div class="progress-bar-step">
|
|
<div class="circle">
|
|
<svg display="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
<use xlink:href="#svg-check"></use>
|
|
</svg>
|
|
</div>
|
|
<div class="progress-step-label"><div>Done</div></div>
|
|
</div>
|
|
-->
|
|
</div>
|
|
<div class="greenlock-logo-badge"><img src="./img/greenlock-mark-400x400.png"></div>
|
|
<div class="greenlock-name">Greenlock</div>
|
|
</div>
|
|
<div class="column-row">
|
|
<form class="js-acme-form js-acme-form-domains">
|
|
<h1><label>What's your domain?</label></h1>
|
|
<h4>Certificates are valid for 90 days. Renewal is free :)</h4>
|
|
<input class="js-acme-domains" type="text" placeholder="example.com,*.example.com" required>
|
|
<br>
|
|
<button type="submit">Next</button>
|
|
|
|
<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">
|
|
</form>
|
|
|
|
<!-- Step 2 Create Account -->
|
|
<form class="js-acme-form js-acme-form-account">
|
|
<h1><label>What's your email?</label></h1>
|
|
<input class="js-acme-account-email acme-account-email" type="email" placeholder="john@doe.family" required>
|
|
<div class="checkbox-array">
|
|
<label>
|
|
<input class="js-acme-account-tos" type="checkbox" required>
|
|
<svg class="icon-checked-box" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
<use xlink:href="#svg-checked"></use>
|
|
</svg>
|
|
<svg class="icon-unchecked-box" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
<use xlink:href="#svg-unchecked"></use>
|
|
</svg>
|
|
Agree to  <a class="js-acme-tos-url" target="acme-tos">Let's Encrypt™ Terms of Service</a>?
|
|
</label>
|
|
<label>
|
|
<input class="js-greenlock-account-tos" type="checkbox" required>
|
|
<svg class="icon-checked-box" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
<use xlink:href="#svg-checked"></use>
|
|
</svg>
|
|
<svg class="icon-unchecked-box" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
<use xlink:href="#svg-unchecked"></use>
|
|
</svg>
|
|
Agree to  <a class="js-gl-tos" target="_blank" href="./legal/">Greenlock™ Terms of Service</a>?
|
|
</label>
|
|
</div>
|
|
<!--
|
|
<a href="#">advanced (use existing account)</a>
|
|
<br>
|
|
<br>
|
|
-->
|
|
<button class="button-next" type="submit">Next</button>
|
|
<div class="email-usage">
|
|
Why do we need your email? We link your SSL certificates to the
|
|
email you use so you can manage your certificates in the future,
|
|
and get important email updates about them.
|
|
</div>
|
|
</form>
|
|
|
|
<!-- Step 3 Set Challanges -->
|
|
<form class="js-acme-form js-acme-form-challenges">
|
|
|
|
<h1>Let's verify your domain</h1>
|
|
<div class="tabbed-selector">
|
|
<label>
|
|
<input class="js-acme-challenge-type" name="acme-challenge-type" type="radio" value="http-01" checked required>
|
|
File Upload
|
|
<div></div>
|
|
</label>
|
|
<label>
|
|
<input class="js-acme-challenge-type" name="acme-challenge-type" type="radio" value="dns-01" required>
|
|
DNS Record
|
|
<div></div>
|
|
</label>
|
|
</div>
|
|
<div class="js-acme-challenges">
|
|
<div class="js-acme-verification-http-01">
|
|
<h3>Upload this file</h3>
|
|
<div class="http-verification-info file-preview">
|
|
<div class="paper-fold"></div>
|
|
<div>
|
|
<div class="file-ver-info-header">FILENAME</div>
|
|
<pre id="js-acme-ver-file-location">...loading</pre>
|
|
</div>
|
|
<hr>
|
|
<div>
|
|
<div class="file-ver-info-header">CONTENTS</div>
|
|
<pre id="js-acme-ver-content">...loading</pre>
|
|
</div>
|
|
</div>
|
|
<div class="download-file">
|
|
<svg class="mdicon icon-download" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
<use xlink:href="#svg-download"></use>
|
|
</svg>
|
|
<a id="js-download-verify-link" href="data:text/octet-stream;base64,SGVsbG8gV29ybGQuLi4=" download="hello.txt" target="_blank">
|
|
Download
|
|
</a>
|
|
</div>
|
|
<h3>To this location</h3>
|
|
<div id="js-acme-ver-uri" class="acme-ver-uri">..loading</div>
|
|
</div>
|
|
<div class="js-acme-verification-dns-01">
|
|
<div class="acme-ver-dns-label">Hostname</div>
|
|
<div id="js-acme-ver-hostname">loading...</div>
|
|
<div class="acme-ver-dns-label">TXT Host</div>
|
|
<div id="js-acme-ver-txt-host">loading...</div>
|
|
<div class="acme-ver-dns-label">TXT Value</div>
|
|
<div id="js-acme-ver-txt-value">loading...</div>
|
|
</div>
|
|
|
|
<div class="js-acme-wildcard">
|
|
<h2>Verify Wildcard Domains</h2>
|
|
|
|
<table class="js-acme-verification-wildcard">
|
|
<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>
|
|
</div>
|
|
|
|
<button class="button-next" type="submit">Next</button>
|
|
</form>
|
|
|
|
<!-- Step 4 Process Challanges -->
|
|
<form class="js-acme-form js-acme-form-poll">
|
|
Verifying Domains... (give us 5 seconds or so...)
|
|
|
|
<!--
|
|
<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>
|
|
|
|
<button type="submit">Next</button>
|
|
-->
|
|
</form>
|
|
|
|
<!-- Step 5 Get Certs -->
|
|
<form class="js-acme-form js-acme-form-download">
|
|
<div class="cert-download-container">
|
|
<h2><label>privkey.pem</label></h2>
|
|
<div class="acme-result-privkey file-preview">
|
|
<div class="paper-fold"></div>
|
|
<pre id="js-privkey">
|
|
</pre>
|
|
</div>
|
|
<div class="download-file">
|
|
<svg class="mdicon icon-download" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
<use xlink:href="#svg-download"></use>
|
|
</svg>
|
|
<a id="js-download-privkey-link" href="data:text/octet-stream;base64,SGVsbG8gV29ybGQuLi4=" download="privkey.pem" target="_blank">
|
|
Download
|
|
</a>
|
|
</div>
|
|
<h2><label>fullchain.pem</label></h2>
|
|
<div class="acme-result-fullchain file-preview">
|
|
<div class="paper-fold"></div>
|
|
<pre id="js-fullchain">
|
|
</pre>
|
|
</div>
|
|
<div class="download-file">
|
|
<svg class="mdicon icon-download" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
<use xlink:href="#svg-download"></use>
|
|
</svg>
|
|
<a id="js-download-fullchain-link" href="data:text/octet-stream;base64,SGVsbG8gV29ybGQuLi4=" download="fullchain.pem" target="_blank">
|
|
Download
|
|
</a>
|
|
</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>
|
|
|
|
<!--
|
|
TODO
|
|
<label>cert.pem</label>
|
|
<textarea class="js-cert">-</textarea>
|
|
|
|
<label>chain.pem</label>
|
|
<textarea class="js-chain">-</textarea>
|
|
|
|
<button type="button">Download SSL Certificates</button>
|
|
<br>
|
|
<a href="#">Advanced (copy and paste)</a>
|
|
<br>
|
|
<button type="submit">Start Over</button>
|
|
-->
|
|
</form>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<!-- 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>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|