I notice that the Amazon-provided Java example skills include the following line in their Java Lambda file static initializer block: System.setProperty("com.amazon.speech.speechlet.servlet.disableRequestSignatureCheck", "true"); What does this do? I tried changing it to "false" and removing it and things still seem to work the same... Thank you
There are a couple of things you can turn on and off in the default classes. This is the one where it makes sure that the HTTPS request coming in is signed correctly. When you are using the loopback server test framework you need to turn this off. It doesn't support HTTPS correctly and this check will fail in that environment. When you go into production, you should turn it on for security. For Lambda... it doesn't matter. There is now https check because it isn't being contacted via https.