use letsencrypt naming convention, and more recent localhost.daplie.com

This commit is contained in:
AJ ONeal 2016-06-27 18:01:05 -06:00 committed by GitHub
parent 98bed512b3
commit 05ee6c66ce
1 changed files with 6 additions and 7 deletions

View File

@ -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