add cer endpoint for easy certificate installing