Jorge_Cesin | 2023-03-22 17:22:30 UTC | #1
Hello,
I am testing the embeddable framework as provided at github by genesys: https://github.com/MyPureCloud/purecloud-embeddable-framework-example
when starting the app: node server.js
I get this error: error:0A00018F:SSL routines::ee key too small at context.setCert code: ERRSSLEEKEYTOO_SMALL
I follow the instructions as stated on github by Genesys.
Any ideas how to fix?
Regards
Richard.Schott | 2023-03-30 18:51:44 UTC | #2
at what point are you getting this error?
Jorge_Cesin | 2023-03-30 20:08:55 UTC | #3
when running: node server.js
I am following the documentation as provided by Genesys. Using the code as provided in github
Richard.Schott | 2023-03-30 21:05:02 UTC | #4
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.
Jorge_Cesin | 2023-03-30 21:37:10 UTC | #5
Same issue. Here is what I did:
- I cloned the repo
- I ran npm install
- added my client id to framework.js
- 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:
Richard.Schott | 2023-04-17 18:26:18 UTC | #6
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.
Jorge_Cesin | 2023-04-17 18:31:53 UTC | #7
Thank you Richard.
system | 2023-05-17 18:32:03 UTC | #8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 19053