Maybe it would be best to separate them, you can self sign or equivalent for encryption and the identity system can be separate.
EX: Conceder I open encrypted connection to amazone.com which pretends to be amazon.com they open an encrypted connection to amazon.com. Amazone can now pretend to be Amazon and read all my encrypted traffic.
The issue is in the real world building a system to handle both typos and hostel networks requires some form of authentication.
Tying these online identities to physical-world identities is what can be separate.
The fact is, my real-life identity was never verified as the owner of the domain by a "trusted" third party. However, the encryption key comes from the same server serving the content, so what, really, is not to be trusted? I.e. the cert applies to "domain.com" and is being used on "domain.com". There is no risk of MITM attack, only that "domain.com" is not what you think it is.
That very well could be a MITM attack