method for adding arbitrary certificate extensions