Reputation: 20330
Hyperledger Fabric provides TLS for secure communication between containers [1]. However this is also something that is provided out of the box by Docker using the --opt encrypted
flag. So which is the better option to choose and what is the best practice here?
Upvotes: 0
Views: 42
Reputation: 5140
If you run Fabric in production, always use TLS. Fabric's public TLS settings (TLS CA certificates) are actually encoded inside the blockchain, and the nodes (peers, orderers) use them to build the CA certificate pools per channel.
If you use any third party solution, there is no way of ensuring your authentication is per channel and not globally, and this exposes you to attacks.
Upvotes: 1