I need to authenticate my GET request to an API by providing a certificate with the web request.
I am using NodeJS running on a Windows client.
The request is failing, apparently due to the need to include the private key in plain text, which I do not have available to me.
Am I missing a way to use an X509 with the key embedded (not plain text)?
I can get the full certificate with the private key in a couple of ways, but I cannot get the private key in plain text.
I have tried the WIN-CA NPM module, but it does not deal with private keys.
Any ideas, confirmation of the issue, and solutions are appreciated.
Thanks!