foreman: add more ssl validation