# Generate SHA-384 hash for RSA and ECDSA Source: [https://docs.qualcomm.com/doc/80-70015-11/topic/generate-sha-384-hash-for-rsa-and-ecdsa.html](https://docs.qualcomm.com/doc/80-70015-11/topic/generate-sha-384-hash-for-rsa-and-ecdsa.html) The SHA-384 hash is crucial in cryptographic applications for several reasons, including enhancing security strength, creating digital signatures, ensuring compliance with standards, and future-proofing. 1. To generate the SHA-384 hash of the root certificate, run the following command: openssl dgst -sha384 qpsa_rootca.cer >sha384rootcert.txtCopy to clipboard 2. Use Sectools to create the leaf (also known as the attestation) certificate, which is the final certificate in the chain. **Parent Topic:** [Enable secure boot](https://docs.qualcomm.com/doc/80-70015-11/topic/enable-secure-boot.html) Last Published: Oct 14, 2024 [Previous Topic Generate RSA CA key pair and certificate](https://docs.qualcomm.com/bundle/publicresource/80-70015-11/topics/generate-rsa-root-ca-key-pair-and-certificate.md) [Next Topic Sign images](https://docs.qualcomm.com/bundle/publicresource/80-70015-11/topics/sign-the-images.md)