Convert .cer
to .crt
openssl x509 -inform DER -in <certificate>.cer -out <certificate>.crtÂ
Generate the SHA256
hash:openssl x509 -pubkey < <certificate
>.crt | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | base64
You get your base64
hash pin