-
Notifications
You must be signed in to change notification settings - Fork 15
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
SSL Certificate Verification Fails For Remote RPC #20
Comments
Thanks for reporting.
Did you actually confirm this? |
I've submitted a PR for this as its standard with the core Chia clients to skip hostname checking. #22 |
The PR has been merged. Thank you! |
I'll release v3.0.1-beta in several days. Please test that version whether it resolves your problem. Thank you for patience! |
I've just release [email protected] Please note that I added the option to control whether to skip hostname check or not. const agent = new RPCAgent({service: "full_node", skip_hostname_verification: true}); Read more here: https://github.com/Chia-Mine/chia-agent/blob/v3.0.1/src/rpc/README.md Thank you. |
Using version v3.0.0, SSL certificate verification fails with a base error of
ERR_TLS_CERT_ALTNAME_INVALID
. This is caused by the default TLS checking code in node trying to verify the hostname on the cert. The chia code itself ignores these checks. From some searching around, addingcheckServerIdentity: () => undefined
as one of the options for the https rpc agent disables hostname checkingThe text was updated successfully, but these errors were encountered: