removed code for old certificate format.