Neutrino TLS
neutrino-api uses HTTPS + bearer-token auth by default.
For JoinMarket NG users, the short version is:
- Set
neutrino_urltohttps://... - Point JoinMarket NG to neutrino's
tls.cert - Point JoinMarket NG to neutrino's
auth_tokenfile (or paste the token)
Minimal Setup
[bitcoin]
backend_type = "neutrino"
neutrino_url = "https://127.0.0.1:8334"
neutrino_tls_cert = "~/.joinmarket-ng/neutrino/tls.cert"
neutrino_auth_token_file = "~/.joinmarket-ng/neutrino/auth_token"
Recommended local location for credentials:
~/.joinmarket-ng/neutrino/tls.cert~/.joinmarket-ng/neutrino/auth_token
Where The Files Come From
neutrino-api creates these on first start in its own data directory:
tls.certauth_token
Copy both files into ~/.joinmarket-ng/neutrino/ (or mount/symlink them)
and use the paths in config.toml.
Migration from HTTP
If you previously used plain HTTP:
- Change
neutrino_urlfromhttp://...tohttps://... - Add
neutrino_tls_cert - Add
neutrino_auth_token_file(orneutrino_auth_token) - Restart JoinMarket NG services
Resetting Credentials
If you run neutrino-api with --reset-auth, it regenerates both files.
After that, copy the new tls.cert and auth_token again and restart
JoinMarket NG.