generateCertificateForAttestation
Generates certificate chain from the private key created in the system. This certificate is then to be sent to Link for verifying attestation.
Throws
if unable to get KeyStore instance