Cannot verify server identity error when the form is submitted