GC Embeddable Framework Example: ERR_SSL_EE_KEY_TOO_SMALL

Hello,

I am testing the embeddable framework as provided at github by genesys:

when starting the app: node server.js

I get this error:
error:0A00018F:SSL routines::ee key too small at context.setCert
code: ERR_SSL_EE_KEY_TOO_SMALL

I follow the instructions as stated on github by Genesys.

Any ideas how to fix?

Regards

at what point are you getting this error?

when running:
node server.js

I am following the documentation as provided by Genesys. Using the code as provided in github

The only real suggestion I have is to grab the contents of the https-requirements folder again and reinstall them onto your machine. I just performed a fresh install of this project and the node server started just fine.

Same issue.
Here is what I did:

  1. I cloned the repo
  2. I ran npm install
  3. added my client id to framework.js
  4. as admin, ran node server.js

I tried these steps on a Win 10 enterprise machine and on red hat machine

It seems the server started:

However, when I go to https://localhost, I get this error:

if the node server is starting, then my next suggestion would be to check the URL you're opening. From the Readme, you need to go to https://localhost/example.html, not just https://localhost. you'll likely be prompted with a security warning from your browser due to the self signed cert, but once you navigate past that warning you should see the example page for the embeddable framework.

Thank you Richard.

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