Configure mutual TLS (mTLS) for HTTP based data sources
This section describes how to configure mutual TLS (mTLS) for HTTP based data sources, like GraphQL, Apollo Federation, REST / OpenAPI and more.
To enable mTLS, add the
mTLS property to the
api configuration. Define the
cert properties to the
mTLS property. If the certificate of the server is self-signed, you should set the
insecureSkipVerify property to
This example makes use of the
EnvironmentVariable class, which is the recommended way to use environment variables when configuring WunderGraph.