├── .eslintignore ├── .eslintrc ├── .gitignore ├── .travis.yml ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── codecov.yml ├── gulpfile.js ├── index.js ├── lib └── loopback-ssl.js ├── package.json └── test ├── fixtures ├── certs │ ├── local.crt.pem │ ├── local.csr │ └── local.pem ├── configs │ ├── config-1.json │ ├── config-2.json │ ├── config-3.json │ ├── config-4.json │ ├── config-5.json │ ├── config-6.json │ ├── config-7.json │ └── config-8.json ├── server-ssl │ ├── boot │ │ └── root.js │ ├── component-config.json │ ├── config.json │ ├── datasources.json │ ├── middleware.json │ ├── model-config.json │ ├── models │ │ ├── note.js │ │ └── note.json │ └── server.js └── server │ ├── boot │ └── root.js │ ├── component-config.json │ ├── config.json │ ├── datasources.json │ ├── middleware.json │ ├── model-config.json │ ├── models │ ├── note.js │ └── note.json │ └── server.js ├── loopback-http-test.js ├── loopback-https-test.js ├── loopback-ssl-config-test.js └── loopback-ssl-test.js /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/.eslintrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/.travis.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/README.md -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/codecov.yml -------------------------------------------------------------------------------- /gulpfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/gulpfile.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/index.js -------------------------------------------------------------------------------- /lib/loopback-ssl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/lib/loopback-ssl.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/package.json -------------------------------------------------------------------------------- /test/fixtures/certs/local.crt.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/certs/local.crt.pem -------------------------------------------------------------------------------- /test/fixtures/certs/local.csr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/certs/local.csr -------------------------------------------------------------------------------- /test/fixtures/certs/local.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/certs/local.pem -------------------------------------------------------------------------------- /test/fixtures/configs/config-1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/configs/config-1.json -------------------------------------------------------------------------------- /test/fixtures/configs/config-2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/configs/config-2.json -------------------------------------------------------------------------------- /test/fixtures/configs/config-3.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/configs/config-3.json -------------------------------------------------------------------------------- /test/fixtures/configs/config-4.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/configs/config-4.json -------------------------------------------------------------------------------- /test/fixtures/configs/config-5.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/configs/config-5.json -------------------------------------------------------------------------------- /test/fixtures/configs/config-6.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/configs/config-6.json -------------------------------------------------------------------------------- /test/fixtures/configs/config-7.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/configs/config-7.json -------------------------------------------------------------------------------- /test/fixtures/configs/config-8.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/configs/config-8.json -------------------------------------------------------------------------------- /test/fixtures/server-ssl/boot/root.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server-ssl/boot/root.js -------------------------------------------------------------------------------- /test/fixtures/server-ssl/component-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server-ssl/component-config.json -------------------------------------------------------------------------------- /test/fixtures/server-ssl/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server-ssl/config.json -------------------------------------------------------------------------------- /test/fixtures/server-ssl/datasources.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server-ssl/datasources.json -------------------------------------------------------------------------------- /test/fixtures/server-ssl/middleware.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server-ssl/middleware.json -------------------------------------------------------------------------------- /test/fixtures/server-ssl/model-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server-ssl/model-config.json -------------------------------------------------------------------------------- /test/fixtures/server-ssl/models/note.js: -------------------------------------------------------------------------------- 1 | module.exports = function(Note) { 2 | }; 3 | -------------------------------------------------------------------------------- /test/fixtures/server-ssl/models/note.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server-ssl/models/note.json -------------------------------------------------------------------------------- /test/fixtures/server-ssl/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server-ssl/server.js -------------------------------------------------------------------------------- /test/fixtures/server/boot/root.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server/boot/root.js -------------------------------------------------------------------------------- /test/fixtures/server/component-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server/component-config.json -------------------------------------------------------------------------------- /test/fixtures/server/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server/config.json -------------------------------------------------------------------------------- /test/fixtures/server/datasources.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server/datasources.json -------------------------------------------------------------------------------- /test/fixtures/server/middleware.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server/middleware.json -------------------------------------------------------------------------------- /test/fixtures/server/model-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server/model-config.json -------------------------------------------------------------------------------- /test/fixtures/server/models/note.js: -------------------------------------------------------------------------------- 1 | module.exports = function(Note) { 2 | }; 3 | -------------------------------------------------------------------------------- /test/fixtures/server/models/note.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server/models/note.json -------------------------------------------------------------------------------- /test/fixtures/server/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/fixtures/server/server.js -------------------------------------------------------------------------------- /test/loopback-http-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/loopback-http-test.js -------------------------------------------------------------------------------- /test/loopback-https-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/loopback-https-test.js -------------------------------------------------------------------------------- /test/loopback-ssl-config-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yantrashala/loopback-ssl/HEAD/test/loopback-ssl-config-test.js -------------------------------------------------------------------------------- /test/loopback-ssl-test.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | --------------------------------------------------------------------------------