Debug option for certificate related stuff refs #25