Added ability to load and save certificates and keys.