Connection & SecurityIntermediate12 min read

Encrypted Solo Mining: TLS and Stratum V2 Setup on mkpool (2026)

Published

Share

Frequently asked questions

What is the difference between TLS and Stratum V2?

TLS wraps the ordinary Stratum V1 protocol in an encrypted tunnel, the same technology that secures websites. Stratum V2 is a newer protocol that encrypts the link over the Noise framework and also authenticates the pool with a published key, so your miner verifies it is talking to the real mkpool and not an impostor. Both hide your address and work from anyone watching the network; V2 adds authenticated pool identity.

Do I need to encrypt my mining connection?

On a trusted home network, plain stratum is usually fine. Encryption matters when the path is not fully trusted, shared or hosted networks, connections that cross the public internet, or anywhere you would rather your payout address and hashrate not be readable in transit. If in doubt and your firmware supports it, there is little downside to using it.

Which firmware supports Stratum V2?

Stock Antminer and Whatsminer firmware speaks plain Stratum V1 only. Braiins OS supports Stratum V2 on compatible Antminers, and recent AxeOS builds add Stratum V2 for Bitaxe and NerdQAxe boards. If your firmware only offers plain stratum, use a plain or, where available, a TLS port instead.

What is the authority key in the Stratum V2 URL?

It is mkpool's public authority key, and it is the same on every chain and safe to publish. Your miner uses it during the encrypted handshake to confirm the pool's identity, which is what stops a man-in-the-middle from impersonating the pool and stealing your hashrate. You include it in the connection URL after the port.

Does encryption slow mining down or change my odds?

No. The encryption overhead on stratum traffic is negligible, and it does not change your share difficulty or your probability of finding a block. Choosing to encrypt is independent of choosing a difficulty tier, the TLS and Stratum V2 ports are offered in the same vardiff and fixed flavours as the plain ports.

Mecanik1337

Written by Mecanik1337

Founder and Lead Engineer, mkpool

Mecanik1337 builds and operates mkpool, an open-source solo mining pool spanning nine chains. He writes about Stratum protocol internals, ASIC and Bitaxe hardware, and the mechanics of solo mining, drawing on the pool's own production telemetry.

Newsletter

Mining insights in your inbox

New guides, hardware reviews, and pool updates. No spam, unsubscribe anytime.

Keep reading

back to all guides