Invalid certificate error and addition file upload is forbid