...
The sender server A can encrypt the message with his private key.
SS: Then it becomes a problem of how to trust the public key associated with A's private key, and how do you trust that A's private key has not been compromised. Blockchain could be useful (perhaps) in the trust model, and in the revocation model.
How to enable confidentiality in this scenario?
Server B can sign the answer message for server A with the A’s public key. Therefore, only the right receiver is able to decrypt and read the answer with its own private key.
SS: As above this becomes a problem of how to trust that you know the correct public key for A. If you trust the wrong key, you encrypt to the wrong recipient. Again, blockchain could help the model of how to trust public encryption keys.
Open issues / questions
What Consensus model could work in this context?
...
Let's start with a private ledger.
Open issues / questions
Why not using x.509 certificates?
No reason not to include X.509 certificates for the underlying operations. Where blockchain can make a difference is in the trust infrastructure that X.509 does not fully solve.