Pell-Mell on Setting Up a Solid Server on Windows

cd node-solid-server

call .\bin\solid-test.cmd start --multiuser --port 8443 --ssl-cert C:\NodeProjects\pmc.cert --ssl-key C:\NodeProjects\pmc.key --root .\data

where before a little self_certify.js doing GitHub - digitalbazaar/forge: A native implementation of TLS in Javascript and tools to write crypto-based and network-heavy webapps (// generate a keypair and create an X.509v3 certificate example) and then writing the cert and key to the parent directory:

// convert a Forge certificate to PEM
var pem = pki.certificateToPem(cert);

// convert a Forge private key to PEM-format
var pemKey = pki.privateKeyToPem(keys.privateKey);


fs.writeFile('pmc.cert', pem, {encoding: null}, (err) =>{});
fs.writeFile('pmc.key', pemKey, {encoding: null}, (err) =>{});