Skip to content
Advertisement

Tag: certificate

CertUtil Import pfx failed: NTE_NOT_SUPPORTED

I am attempting to set the KeySpec flag on an existing certificate for use in a SQL server encryption role. Current KeySpec is 0, and I need it to be a 1. The way to do this is by first exporting the cert, its private key, and key usages into a .pfx file (with a password, regardless of what it

Saving a pem certificate in a SQL Server database

I need to save the content of a *.PEM certificate in a SQL Server database. I plan to save it in a nvarchar() column, but I’m not sure what length should I use. I would appreciate any advice. If you have experience with saving pem files to a relational database that would be even better. Answer There is no upper

Advertisement