Validate your pfx certificate in the easier way possible
npm install pfx-loadYou just need to to the following:
```
const obj = pfxLoad('./path_to_pfx_file', 'some password')
- certpath: Path of .pfx file.passphrase
- : Password to read the certficateoptions
- : showCerts
- : Default: false, Show or not an Array of certificatesshowError
- : Default: true, show or not the error parameter
``
PfxLoad {
isPasswordOrPfxInvalid?: boolean;
isPfxOutdated?: boolean;
willWork?: boolean;
error?: Error | null
validCerts?: Array
}
PfxOptions {
showCerts?: boolean;
showError?: boolean;
}
````
I hope you can make a good use of this library. If you'd like to add or complain about something, please create an Issue in our github. Or enter in our community