-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Self signed certificate in certificate chain #10
Comments
Add to the main.js file under <home/user or root>node-red/node_modules/node-red-contrib-stackhero-mysql/src this code " ssl: {rejectUnauthorized: false},"
I got the idea from the documentation for the mysql node for node red and its drivers: |
not pretty good at js (resp. know how mysql.createPool() is operating), but shouldn't this be
otherwise this might get problematic eventually (if tls turned off) but it gave me an entry point for my problem ;)
in this case you can reject, which doesn't defy the purpose |
Any chance of getting rid of this via the plugin?
Would be great if we could provide the client keys and certs here too.
The text was updated successfully, but these errors were encountered: