use letsencrypt naming convention, and more recent localhost.daplie.com
This commit is contained in:
parent
98bed512b3
commit
05ee6c66ce
|
@ -1,13 +1,12 @@
|
||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var https = require('https')
|
var https = require('https');
|
||||||
, fs = require('fs')
|
var fs = require('fs');
|
||||||
, path = require('path')
|
var path = require('path');
|
||||||
, ca = fs.readFileSync(path.join(__dirname, 'certs', 'client', 'my-root-ca.crt.pem'))
|
var ca = fs.readFileSync(path.join(__dirname, 'certs', 'client', 'chain.pem'));
|
||||||
, port = process.argv[2] || 8043
|
var port = process.argv[2] || 8043;
|
||||||
, hostname = process.argv[3] || 'local.ldsconnect.org'
|
var hostname = process.argv[3] || 'localhost.daplie.com';
|
||||||
;
|
|
||||||
|
|
||||||
var options = {
|
var options = {
|
||||||
host: hostname
|
host: hostname
|
||||||
|
|
Loading…
Reference in New Issue