Skip to content

Instantly share code, notes, and snippets.

@eduavila
Created February 9, 2024 20:52
Show Gist options
  • Save eduavila/a024b3b403eecc7db7b8f5dab02377e8 to your computer and use it in GitHub Desktop.
Save eduavila/a024b3b403eecc7db7b8f5dab02377e8 to your computer and use it in GitHub Desktop.
Verificar se key e do certificado correspondente

Imprimir sha256sum da key.

 openssl pkey -in key.pem -pubout -outform pem | sha256sum
 

Imprimir sha256sum da key.

 
openssl x509 -in cert.crt -pubkey -noout -outform pem | sha256sum
 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment