How do peers involved in a p2p communication authenticate each other?
How do peers in WebRTC authenticate each other?
Solution
DTLS in WebRTC uses self-signed certificates. RFC 5763 has the details, in a nutshell the certificate fingerprint is matched against the one provided in the a=fingerprint line of the SDP.