silence those insufferable bells from cert printing

replace all non-word characters with a '.' when DEBUG logging a certificate to
stdout so terminals that ring audible or visible bells when a non-printable
character is printed don't drive developers crazy