gatewayd.toml 835 B

123456789101112131415161718192021222324
  1. ## gatewayd configuration file
  2. ##
  3. ## Please make sure you go through all the settings so you can configure
  4. ## your daemon properly.
  5. # The endpoint where gatewayd will serve its protocol API
  6. protocol_listen_address = "127.0.0.1:3333"
  7. # The endpoint where gatewayd will serve its publisher API
  8. publisher_listen_address = "127.0.0.1:4444"
  9. # Whether to listen with TLS or plain TCP
  10. serve_tls = false
  11. # Path to DER-formatted PKCS#12 archive. (Unused if serve_tls=false)
  12. # This can be created using openssl:
  13. # openssl pkcs12 -export -out identity.pfx -inkey key.pem -in cert.pem -certfiles chain_certs.pem
  14. tls_identity_path = "~/.config/darkfi/gatewayd_identity.pfx"
  15. # Password for the created TLS identity. (Unused if serve_tls=false)
  16. tls_identity_password = "FOOBAR"
  17. # Path to database
  18. database_path = "~/.config/darkfi/gatewayd.db"