remove trailing whitespace from code
return generated cert fingerprint and hash value