Browse Source

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

master
AJ ONeal 6 years ago
committed by GitHub
parent
commit
05ee6c66ce
  1. 13
      request-without-warnings.js

13
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

Loading…
Cancel
Save