Scenario I'm trying to use certificates to sign documents. The first time that I sign, the OS prompts a dialog for user to set the PIN, but the next times it doesn’t. For security reasons, I need that every time that I sign, the OS asks the PIN to the [...] read more
My goal is to create a self-signed certificate to use later. I tried using the parameter -PIN like this: $password = ConvertTo-SecureString "123456" -AsPlainText -Force $certif = New-SelfSignedCertificate ` -Type Custom ` -KeySpec Signature ` -KeyUsageProperty Sign ` -KeyUsage DigitalSignature ` -KeyExportPolicy Exportable ` -KeyLength 2048 ` -HashAlgorithm sha256 ` [...] read more