Helper methods for managing SSL certificates

These SSL certificate methods were originally intended for the Yast module, but I think suse-connect will need them as well so they should be shared.