Basic PKI working for WMS connections
Add support for passphrase-protected private keys for WMS
Add key algorithm type check