formatting
This commit is contained in:
parent
bc482028b7
commit
4a94dbdf0b
|
@ -63,8 +63,9 @@ var le = require('letsencrypt').create({ server: 'staging' });
|
||||||
|
|
||||||
le.register({
|
le.register({
|
||||||
domains: ['example.com'], email: 'user@email.com', agreeTos: true
|
domains: ['example.com'], email: 'user@email.com', agreeTos: true
|
||||||
}).then(function (results) {
|
}).then(function (certs) {
|
||||||
console.log(results);
|
// privkey, cert, chain, expiresAt, issuedAt, subject, altnames
|
||||||
|
console.log(certs);
|
||||||
}, function (err) {
|
}, function (err) {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue