Hi Trinayan,

The certificates generated using SDK (enrollAdmin.js and registerUser.js) are stored inside wallet/ and you will see three files: one public key, one private key and one file with the name (admin or user1). Inside which you will see the PEM of that certificate.

If you wish to make it readable like the one shown in my article, you can use openssl tools.

openssl x509 -noout -text -in <cert_in_pem>

cheers, kc

Written by

Happy to share what I learn on blockchain. Visit http://www.ledgertech.biz/kcarticles.html for my works. or reach me on https://www.linkedin.com/in/ktam1/.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store