I am using the function CertCreateSelfSignCertificate to generate a certificate. I need to specify the key size to be 2048. I do not see how to provide this parameter.
I am using the function CertCreateSelfSignCertificate to generate a certificate. I need to specify
Share
Look at the description for the
dwFlagsargument as described in CryptGenKey. That should permit you to select the key length.