spegling av
https://github.com/therootcompany/greenlock.js.git
synced 2024-11-16 17:29:00 +00:00
formatting
This commit is contained in:
förälder
bc482028b7
incheckning
4a94dbdf0b
@ -63,8 +63,9 @@ var le = require('letsencrypt').create({ server: 'staging' });
|
||||
|
||||
le.register({
|
||||
domains: ['example.com'], email: 'user@email.com', agreeTos: true
|
||||
}).then(function (results) {
|
||||
console.log(results);
|
||||
}).then(function (certs) {
|
||||
// privkey, cert, chain, expiresAt, issuedAt, subject, altnames
|
||||
console.log(certs);
|
||||
}, function (err) {
|
||||
console.error(err);
|
||||
});
|
||||
|
Laddar…
x
Referens i nytt ärende
Block a user