-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
Description
Hi,
every i time i start my server i get the following error:
{"status":"failure","reason":"missing certificate url"}
I tried it with a self signed certificat and altough with an existing wildcard certificat from my domain.
Whats wrong there ?
I've tried altough the old version 2.3.1 (as mentioned in another issue) , but i get the same error.
Here are my settings:
var AlexaAppServer = require("alexa-app-server");
AlexaAppServer.start({
server_root: __dirname,
port: 83,
debug:false,
verify:true,
log : true,
// Use preRequest to load user data on each request and add it to the request json.
// In reality, this data would come from a db or files, etc.
preRequest: function(json, req, res) {
console.log("preRequest fired");
json.userDetails = { "name": "Bob Smith" };
},
// Add a dummy attribute to the response
postRequest: function(json, req, res) {
console.log("JKO");
json.dummy = "text";
},
httpsEnabled: true,
// The https port the server will bind to. Required for httpsEnabled support.
// Default is undefined.
httpsPort: 8181,
// The private key filename. This file must reside in the sslcert folder under the
// root of the project. Default is undefined.
privateKey: 'key.key',
// The certificate filename. This file must reside in the sslcert folder under the root of the
// project. Default is undefined.
certificate: 'crt.crt',
bundle: 'ca.crt'
});