Reformat certificates returned by Dogtag
The formatting of PEM certificates returned by Dogtag may not match our
ideal, so strip off the PEM header and footer and reformat them
ourselves before outputting them. Should fix #76.
Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>