Trying to get neo4j with https working in docker container

I am new to neo4j and am trying to get neo4j container running with https support. I am using self-singed certificate using openssl. I followed the steps in this document How to set up SSL communcation when running Neo4j within a Docker Container - Knowledge Base...

But when I try to query from my code using address neo4j+s://0.0.0.0:7473, I am getting error as 'ConnectivityError: Unable to retrieve routing table from 0.0.0.0:7473: x509: certificate signed by unknown authority'

Is there any way to test https feature with self-signed certificate? Or Should we have to use valid certificate from CA to get this working?