# Node solid server setup and login

**URL:** <https://forum.solidproject.org/t/node-solid-server-setup-and-login/778>\
**Category:** General Discussion\
**Created:** [December 3, 2018, 10:49pm UTC](https://forum.solidproject.org/t/node-solid-server-setup-and-login/778 "2018-12-03T22:49:51Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rimmartin](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.solidproject.org/rimmartin/32/166_2.png) [@rimmartin](https://forum.solidproject.org/u/rimmartin)\
**Post date:** [December 3, 2018, 11:35pm UTC](https://forum.solidproject.org/t/node-solid-server-setup-and-login/778/2 "2018-12-03T23:35:43Z")

</div>

For me, I had to add scripts node.cmd & node-test.cmd on windows to launch node-solid-server

> <https://github.com/rimmartin/node-solid-server/tree/master/bin>
>
> //github.com/rimmartin/node-solid-server/tree/master/bin

> [@Pell-Mell on Setting Up a Solid Server on Windows](http://forum.solidproject.org/t/pell-mell-on-setting-up-a-solid-server-on-windows/651/13):
>
> but bin/solid is a shebang script for node javascript This doesn’t run on my windows box from the cmd prompt. So I made the windows equivalent:

> [@Pell-Mell on Setting Up a Solid Server on Windows](http://forum.solidproject.org/t/pell-mell-on-setting-up-a-solid-server-on-windows/651/2):
>
> I stood node-solid-server up on windows using node-forge [https://github.com/digitalbazaar/forge#x509](https://github.com/digitalbazaar/forge#x509) self signing with x509 and also made some windows cmd’s equivalent to bin/solid and bin/solid-test no openssl or unix emulation needed. I guess I should fork; would be the easiest way to provide this to the forum?

Since I don’t have ssl certificates I use node-forge to self generate on windows.

> [@Pell-Mell on Setting Up a Solid Server on Windows](http://forum.solidproject.org/t/pell-mell-on-setting-up-a-solid-server-on-windows/651/3):
>
> 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](https://github.com/digitalbazaar/forge#x509) (// 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…

> [@Pell-Mell on Setting Up a Solid Server on Windows](http://forum.solidproject.org/t/pell-mell-on-setting-up-a-solid-server-on-windows/651/6):
>
> self\_certify.js var fs = require('fs'); var forge = require('node-forge'); var pki = forge.pki; // generate a keypair and create an X.509v3 certificate var keys = pki.rsa.generateKeyPair(2048); var cert = pki.createCertificate(); cert.publicKey = keys.publicKey; // alternatively set public key from a csr //cert.publicKey = csr.publicKey; // NOTE: serialNumber is the hex encoded value of an ASN.1 INTEGER. // Conforming CAs should ensure serialNumber is: // - no more than 20 octets // - non-neg…

This is all unofficial

---

_[View the full topic](https://forum.solidproject.org/t/node-solid-server-setup-and-login/778)._
