From 05ee6c66ce21404bbb2077d57883dde676655311 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 27 Jun 2016 18:01:05 -0600 Subject: [PATCH] use letsencrypt naming convention, and more recent localhost.daplie.com --- request-without-warnings.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/request-without-warnings.js b/request-without-warnings.js index c266886..f645e52 100755 --- a/request-without-warnings.js +++ b/request-without-warnings.js @@ -1,13 +1,12 @@ #!/usr/bin/env node 'use strict'; -var https = require('https') - , fs = require('fs') - , path = require('path') - , ca = fs.readFileSync(path.join(__dirname, 'certs', 'client', 'my-root-ca.crt.pem')) - , port = process.argv[2] || 8043 - , hostname = process.argv[3] || 'local.ldsconnect.org' - ; +var https = require('https'); +var fs = require('fs'); +var path = require('path'); +var ca = fs.readFileSync(path.join(__dirname, 'certs', 'client', 'chain.pem')); +var port = process.argv[2] || 8043; +var hostname = process.argv[3] || 'localhost.daplie.com'; var options = { host: hostname