A node.js reimplementation and extension of the school internal subtitution system
Path | Usage/Explanation |
---|---|
/src | |
/certs | root folder for all certificate files |
/ClientRootCA.* | certificate that client certs are checked against |
/ServerCert.* | cert authenficating the server |
/clientCerts | root folder for client authentification certs |
/ClientTest?.pfx | packaged private key, public key and attributes |
/ClientTest?.key | private key of the cert |
/ClientTest?.crt | public key of the cert and other attributes (CN,...) |
/command template.txt | template for creating new client certificates using the ClientRootCA |
/public/* | files that are publicly accessable by the server |
/main.js | main Module |
/*.js | other modules |
in order to test this application the following files have to be installed in the clients certification store:
- /src/certs/clientCerts/ClientTest?.pfx
- /src/certs/ServerCert.crt (optionally, only if the issuer's CA isn't already installed by default, like e.g. verisign is)
Google Chrome: https://support.globalsign.com/customer/portal/articles/1211541-install-client-digital-certificate---windows-using-chrome
Mozilla Firefox: https://support.globalsign.com/customer/portal/articles/1211486-install-client-digital-certificate---firefox-for-windows
Mac OS: https://support.globalsign.com/customer/portal/articles/1214936-install-pkcs-12-file---mac-osx-for-safari-chrome
the both examples provided in /src/certs/clientCerts ClientTest1.pfx and ClientTest2.pfx use the empty string '' as password.