Added peer certificate digesting