Adding a constructor for string cert and key settings.