How do I change my custom OneStep to request 2048 key instead of 1024?
3 years ago
Originally Published: 2011-03-11
Article Number
000051083
Applies To
RSA Certificate Manager 6.8
RSA Certificate Manager (RCM)
Microsoft Windows Server 2003 SP2
OneStep
Custom OneStep plugin
Issue
How do I change my custom OneStep to request 2048 key instead of 1024?
End Entity cert request still come back as 1024 and can not find a parameter to change it in any of the other configuration files.
How do I change my custom OneStep to request 2048 key instead of 1024
Resolution
In the "enroll_msie.vbs" change these lines, from:

  if document.all.userprotect.checked = true then
    IControl.GenKeyFlags = 2
  else
    IControl.GenKeyFlags = 1
  end if

to:

  if document.all.userprotect.checked = true then
    IControl.GenKeyFlags = &H8000000 + 2
  else
    IControl.GenKeyFlags = &H8000000 + 1
  end if