You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Ok, just done. For instance the following now works:

    var options = url.parse("https://localhost");
    options.key = atob("MIIJKQ ... OZs08C");
    options.cert = atob("MIIFi ... Uf93rN+");
    options.ca = atob("MIIFgDCC ... GosQML4sc=");
    require("http").get(options, ... );
    

    If you have the certificates as .pem files, you need to load these files, take the
    information between the lines beginning with ----, remove the newlines from it
    so you have raw base64, and then feed it into atob as above.

    This will be in http://www.espruino.com/binaries/git/comĀ­mits/master/ - just give it an hour for the latest build to appear in there.

About

Avatar for Gordon @Gordon started