Skip to content

rpc embedded: add https flags to embedded rpc - #23108

Open
lupin012 wants to merge 2 commits into
mainfrom
lupin012/https_flags_embedded_rpc
Open

rpc embedded: add https flags to embedded rpc#23108
lupin012 wants to merge 2 commits into
mainfrom
lupin012/https_flags_embedded_rpc

Conversation

@lupin012

@lupin012 lupin012 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

These flags already existed in the external rpcdaemon; this PR makes them available in the embedded RPC daemon as well. Names, usage strings and defaults are identical between the two binaries (the external daemon now reads them from the shared utils definitions).

Flag Type Default Description
--http.url string "" HTTP server listening url. Overrides http.addr and http.port. Supported prefixes: tcp, unix
--https.enabled bool false Enable HTTPS server
--https.addr string localhost HTTPS server listening interface
--https.port int 0 HTTPS server listening port. Defaults to http.port + 363 if not set
--https.url string "" HTTPS server listening url. Overrides https.addr and https.port. Setting it implies https.enabled
--https.cert string "" Certificate file for the HTTPS server
--https.key string "" Key file for the HTTPS server
--socket.enabled bool false Enable IPC server
--socket.url string unix:///var/run/erigon.sock IPC server listening url. Supported prefixes: tcp, unix

closes #12792

@lupin012
lupin012 marked this pull request as ready for review August 8, 2026 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--https.url flag exists only in external rpcdaemon. need add support to erigon

1 participant