question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't validate certificate for incoming request (according to Cert team)

See original GitHub issue

I’m using your library for my Alexa skill (great job on it btw!)

For the past several months, I’ve been working with the cert team to get my skill approved (this frustration is a topic for another day though). Through January, they would come back with requested changes to the behavior of the skill.

Since around mid-Feburary, Amazon has started rejected my attempts because they say that The skill does not validate the certificates for the incoming requests and is accepting requests with incorrect certificate. Please refer to the document that describes how to build your Alexa Skill as a web service I racked my brain about what I could have changed and finally blew away my full library and updated it again from virgin source (i.e, I’ve made no changes to it).

Again, I received a rejection saying the same thing. Has anyone else noticed this? Could Amazon have changed their process and made it incompatible with the current library per chance?

Finally, how would I go about testing this piece - is there a way to get Amazon to send me a bogus request that I can debug against?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:27 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
smoore4momacommented, Jan 25, 2018

One thing to watch out for is web.config. Most of us were taught to hide errors from users, so it is common to redirect ANY error to an error page, like this:

<customErrors mode="On" defaultRedirect="~/Home/Error" />

I changed this to <customErrors mode="Off" /> and that worked. Not a AreYouFreeBusy app but might be relevant anyway.

1reaction
stefann42commented, Oct 22, 2017

@rosariomartone please open a new issue since what you are asking is unrelated to this particular issue. In short, you are using the library incorrectly. VerifyCertificateUrl is an internal function not meant to be called by you (should have probably been marked private). There is no need to you to perform certificate validation explicitly. It’s something the library does implicitly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

C# Ignore certificate errors?
Add a certificate validation handler. Returning true will allow ignoring the validation error: ServicePointManager .
Read more >
SSL Client Certificate Authentication not working. What am I ...
According the TLS handshaking the Gateway should provide a list of certs, so the client can validate and present its cert.
Read more >
Security certificate validation fails - Windows Server
Works around an issue where security certificate that's presented by a website isn't issued when it has multiple trusted certification paths ...
Read more >
A Simple Explanation of SSL Certificate Errors & How to Fix ...
An SSL certificate error occurs when a web browser can't verify the SSL certificate installed on a site. Rather than connect users to...
Read more >
What Do SSL Certificate Errors Mean: Causes & How to Fix ...
An SSL certificate error occurs when the browser cannot verify the SSL certificates returned by the server. When the error happens, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found