Configure HTTPS and encrypted bold in neo4j 4.0.2

I am trying to run neo4j 4.0.2 in AWS.

I was able to install it on Ubuntu server 18. And it worked fine on "encrypted = FALSE" scenario.

Then I tried to make it encrypted and followed the instructions from:

Despite hours trying to make https and bolt work, I still have errors when trying to run the following python code:

from neo4j import GraphDatabase
driver = GraphDatabase.driver("bolt://:7687", auth=("neo4j", "neo4j"), encrypted= True)

neo4j.conf:

#*****************************************************************
#Network connector configuration
#*****************************************************************

#With default configuration Neo4j only accepts local connections.
#To accept non-local connections, uncomment this line:
dbms.default_listen_address=0.0.0.0

#You can also choose a specific network interface, and configure a non-default
#port for each connector, by setting their individual listen_address.

#The address at which this server can be reached by its clients. This may be the server's IP address or DNS name, or
#it may be the address of a reverse proxy which sits in front of the server. This setting may be overridden for
#individual connectors below.
dbms.default_advertised_address=labs.med.br

#You can also choose a specific advertised hostname or IP address, and
#configure an advertised port for each connector, by setting their
#individual advertised_address.

#By default, encryption is turned off.
#To turn on encryption, an ssl policy for the connector needs to be configured
#Read more in SSL policy section in this file for how to define a SSL policy.

#Bolt connector
bolt.ssl_policy=default
dbms.ssl.policy.default.base_directory=/var/lib/neo4j/certificates
dbms.ssl.policy.default.allow_key_generation=false
dbms.ssl.policy.default.private_key=/var/lib/neo4j/certificates/neo4j.key
dbms.ssl.policy.default.public_certificate=/var/lib/neo4j/certificates/neo4j.cert
dbms.ssl.policy.default.revoked_dir=/var/lib/neo4j/certificates/revoked
dbms.ssl.policy.default.client_auth=NONE

dbms.connector.bolt.enabled=true
#dbms.connector.bolt.tls_level=DISABLED
#dbms.connectors.default_advertised_address=0.0.0.0
#dbms.connector.bolt.advertised_address=18.228.195.188:7687
#dbms.connector.bolt.address=0.0.0.0:7687
#dbms.connector.bolt.listen_address=0.0.0.0:7687

#HTTP Connector. There can be zero or one HTTP connectors.
dbms.connector.http.enabled=true
#dbms.connector.http.listen_address=0.0.0.0:7474

#HTTPS Connector. There can be zero or one HTTPS connectors.
dbms.connector.https.enabled=true
#dbms.connector.https.listen_address=0.0.0.0:7473

#Number of Neo4j worker threads.
#dbms.threads.worker_count=

Any Idea ?? Tks in advance