prisma-labs / get-graphql-schema

Fetch and print the GraphQL schema from a GraphQL HTTP endpoint. (Can be used for Relay Modern.)
669 stars 62 forks source link

Adding ssl cert fix #16

Open JackShadow opened 6 years ago

JackShadow commented 6 years ago

Fix for SSL certificate problem: self signed certificate while using in dev env

alex-shatalov commented 6 years ago

have the same problem, nice work man!

ThisIsMissEm commented 6 years ago

For developer environments, you should probably just add your self-signed certificate to your operating system's certificate keychain; On MacOS, this can be done with:

sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain <path/to/cert.crt>