Add prompt for passphrase when importing encrypted keys
Migrated from: https://tracker.clearos.com/view.php?id=18011
Reported by: Nick Howitt
When importing keys, the certificate manager fails if the key is encrypted. It would be helpful if the certificate manager could detect an encrypted key, prompt for the passphrase then store the key unencrypted rather than just giving a " Warning Invalid file detected" message.