I'm starting to work on a project where the core idea is to use a local .NET Core server to digitally sign data that is sent to it, and then redirect it to the appropriate service out in the web.
The certificate is stored on a USB and I'm using the SafeNet driver to access it and it prompts me for the password each time I do a request that requires signing. I'd like to be able to pass the password in the X509Certificate2, which would be configured in some file so that it doesn't prompt me.
Is this possible? From what I've been searching, I haven't found any way to avoid the prompt and pass the password to the certificate programmatically. Is there any other driver or token type that would make this possible?