Ssl pki

Why spark doesn’t use pki authentification, If I even required ssl? Openfire authentificate any user without pki information!