Alexa works with ngrok but not with Let'sEncrypt SSL

My alexa skill code runs absolutely fine on ngrok but not working on live server.

I am having following error:
The SSL handshake to endpoint Resource [], Type [HTTP], Region [DEFAULT] failed. Please check that your java keystore is correctly configured

My domain is:

My hosting provider is:
digital ocean

I am using RunCloud to manage my server and sites.

Please feel free to have a look at source code, there is only one js file as per example of alexa itself:
Source code of my project:

Looking forward to have your help, I appreciate your time and suggestions!


1 Like

I found this previous complaint about Let's Encrypt and Alexa Skills:

According to one of the responses, the problem is that there is no cipher overlap between your webserver and the Alexa Skills server, and that you can fix this by adding the ECDHE-RSA-AES128-SHA256 cipher to your nginx configuration (ssl_ciphers directive)

You can test this with the following (it currently fails):

openssl s_client -connect -tls1_2 -cipher ECDHE-RSA-AES128-SHA256

Your openssl command helped the most! I appreciate your efforts.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.