Greenlock™ - Instant, Free SSL Certificates via Let's Encrypt v2















How will you validate your domain?




Verify Domains & Sub-Domains

Hostname File Location File Contents
example.com .well-known/acme-challenge/xxx sec.ret
Hostname TXT Host TXT Value
example.com _acme-challenge.example.com 4A54

Verify Wildcard Domains

Hostname TXT Host TXT Value
example.com _acme-challenge.example.com 4A54
Verifying Domains... (give us 5 seconds or so...)

node.js https server example

'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());
})