fvdm / nodejs-ssldecoder

Node.js module to check your domain SSL/TLS setup with SSL Decoder.org (unofficial)

Home Page:https://www.npmjs.com/package/ssldecoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not able to reach https://ssldecoder.org

mayankvol opened this issue · comments

Hi,
In my code I have use ssdecoder. now, my code breaks up. From debugging i found that code not able to reach 'https://ssldecoder.org'.

Please help me out.

Sorry I missed this issue, my Github notifications are broken.

You can change the endpoint in the configuration. When you use the one set up by @DanielRuf you can use this code to get it working:

var ssldecoder = require ('ssldecoder') ({
  endpoint: 'https://ssldecoder.daniel-ruf.de',
});

ssldecoder.host ('myhostname.net', (err, data) => {
  if (err) return console.error (err);

  console.dir (data, {
    depth: null,
    colors: true,
  });
});