I'm trying to push GraphQL schema to Apollo federation by using HTTPS serviceURL and endpoint. But I am getting the following error. How can I achieve this by skipping the SSL validation in Node.js?
reason: write EPROTO 4454038976:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/r …
FetchError: request to https://localhost:8080/graphql failed, reason: write EPROTO 4454038976:error:1408F10B:SSL routines:ssl3_get_record:wrong version
number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:
Code: EPROTO
Thanks in advance.
I fixed this issue by doing the following steps: