How to load a PKCS#12 Digital Certificate with Javascript WebCrypto API

Web cryptography api does not support PKCS # 12. You can use a third party library to decode the p12 as forge https://github.com/digitalbazaar/forge#pkcs12 and load privateKey in webcrypto Reading the PKCS#12 certificate PKCS#12 is stored in DER, so first read it from a File or use a pre-stored base64 //Reading certificate from a ‘file’ form … Read more