blackboard / BBDN-LTI-Tool-Provider-Node

A node.js LTI Tool Provider for testing LTI launches, Caliper, and Outcomes.
73 stars 40 forks source link

git clone - npm start results in npm ERR! Failed at the lti-test-tool-provider@0.0.1 start script. #29

Closed markkauffman2000 closed 3 years ago

markkauffman2000 commented 6 years ago

314 git clone https://github.com/blackboard/BBDN-LTI-Tool-Provider-Node.git 315 cd BBDN-LTI-Tool-Provider-Node 316 npm start

Error: ENOENT: no such file or directory, open 'star.int.bbpd.io.key' npm ERR! lti-test-tool-provider@0.0.1 start: node server/lib/server.js npm ERR! Exit status 1

This didn't happen prior to the last commit because config.json previously had: "use_ssl": false

I.E. The default was to run w/o ssl. Now it tries to run with but there is no key in the repo.

ewpreston commented 5 years ago

You have to provide your own ssl certificate. We don't ship our SSL cert. If you turn SSL on then you need to change to code to point to your SSL cert.

RohitAShirsath commented 5 years ago

You have to provide your own ssl certificate. We don't ship our SSL cert. If you turn SSL on then you need to change to code to point to your SSL cert.

@ewpreston we are trying to install on our local server. Still, we are getting the error? Is there any other process to do the installation?

ewpreston commented 5 years ago

You can install it wherever you want. It's an open source Node.js service. You need to provide your own SSL certificate. People don't share SSL certificates. You need to change the code locally to use your own SSL cert.

ewpreston commented 4 years ago

A more recent version allows you to specify the name of the SSL cert in the config_override.json file with

ssl_key ssl_cert

properties

shurrey commented 3 years ago

Closing for inactivity. Please re-open if you still have this issue.