added helper methods for managing SSL certificates