added ability to update/create cert before upload