cronos
cronos copied to clipboard
app.toml / tls certificate not working on the EVM RPC HTTP port
When I use a tls certificate for
# Address defines the EVM RPC HTTP server address to bind to.
address = "0.0.0.0:8545"
it doesn't work and gives the error:
SSL routines:ssl3_get_record:wrong version number
The same certificate working fine for:
# Address defines the EVM WebSocket server address to bind to.
ws-address = "0.0.0.0:8546"
Any Ideas?
What do you mean by "use a tls certificate for" the address? do you mean to use a HTTPS terminated reverse proxy?
When I setup the certificate here:
###############################################################################
### TLS Configuration ###
###############################################################################
[tls]
# Certificate path defines the cert.pem file path for the TLS configuration.
certificate-path = ""
# Key path defines the key.pem file path for the TLS configuration.
key-path = ""
to use the build-in webserver it works for the EVM WebSocket server with https but it's' not working for the built-in EVM RPC HTTP server with https.
This looks like an issue on Ethermint?
Is there any update on this?
yeah, right now, the tls config is only used for the WebSocket server, not the HTTP json-rcp server.