[FIXED JENKINS-19175] NPE when client certificates are used