Cherry picked aa720045 onto linked-data-viz branch
Fixed SHA1 to operate over the certificate rather than the key to match keytool's operation.