Updated cert testing functions for Firefox 24+