Gatekeeper Error Certificate Signed By Unknown Authority

I’m trying to put Gatekeeper in front of Kibana and I’m currently running a local Docker compose file, but I keep getting the below error. Am I missing something?

failed to get provider configuration from discovery	{"error": "Get \"https://keycloakurl/auth/realms/MYREALM/.well-known/openid-configuration\": x509: certificate signed by unknown authority"} [error] failed to retrieve the provider configuration from discovery url

This is the section of the compose file for Gatekeeper.
keycloak-gatekeeper:
image: bitnami/keycloak-gatekeeper:10.0.0
hostname: gatekeeper
ports:
- 80:80
- 443:443
volumes:
- ./docker-gatekeeper/config:/etc/gatekeeper
command:
- /keycloak-gatekeeper
- --listen
- :3000
- --upstream-url
- http://kibana:5601
- --discovery-url
- https://keycloakurl/auth/realms/MYREALM
- --client-id
- kibana
- --client-secret
- 12345
- --tls-ca-certificate
- /etc/gatekeeper/certs/ca.pem
- --tls-cert
- /etc/gatekeeper/certs/server.pem
- --tls-private-key
- /etc/gatekeeper/certs/server_key.pem
networks:
- esnet
depends_on:
- kibana

Hey walley, did you find any workaround for this ?