Skip to content

Stratum-over-TLS: worker-side wiring for an encrypted miner↔stack link (companion to Pithead #261) #115

@VijitSingh97

Description

@VijitSingh97

Why

Follow-on to default-on stratum auth (#113): once the Pithead stack can offer stratum-over-TLS (p2pool-starter-stack/pithead#261), workers should connect over the encrypted link. RigForge already has the building block — per-pool outbound stratum TLS (pools[].tls, rigforge.sh:304, shipped in #21) — so this is mostly setup wiring + trust + docs, not new transport code.

Scope (worker side)

  • At setup, when the stack offers stratum TLS, write pools[].tls: true (plus any cert / SNI / fingerprint trust) into the worker's xmrig config.
  • Handle the cert trust model the stack documents (internal CA / self-signed / operator cert).
  • Docs in docs/pithead-integration.md.

Acceptance criteria

  • Worker setup can enable TLS on the stratum pool against a TLS-offering stack.
  • Documented trust model; connects to the stack's encrypted :3333.
  • No regression for cleartext stratum when the stack isn't offering TLS.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsecuritySecurity-sensitive issue or hardeningsetuprigforge.sh, config.json, first-run setup

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions