Pre-Shared Key (PSK) with simple symmetric encryption is a popular way of solving both client and server authentication when SSL cannot be used for some reason (for example, can't trust or deal with certificate management, or even SSL not supported on the server). And PSK has the advantage of not requiring a complex negotiation protocol. So how can a website use PSK for connection security?
It appears that browsers do not have built-in PSK. Going through an SSH tunnel may not be an option either (first, the SSH server fingerprint is harder to remember than a user-generated PSK password; second, SSH tunnels do not solve Chrome's unsettling warnings about plain HTTP; and third, the server might not support SSH).
So, is there some generic browser add-on that prompts for URL + PSK, and visits any (PSK-enabled) site using PSK encryption? "Browser add-on" could be pretty much anything. (For example, a script loaded via file://
that establishes a secure PSK connection inside a cross-site WebSocket, patches all resource-loading methods in JavaScript to PSK versions, and, finally, securely loads and executes the top javascript file.)
If not, please provide possible reasons why such a feature is not standardized.