Replace Organization= with O=
A subject uses X.500 parts, and organization is represented by the letter
"O"
Brian
<> wrote in message
news:0407cf72-1cbe-4e78-aa32-...
> When using certreq to create a cert request, it fails if an
> organization is specified.
> "The data is invalid. 0x8007000d (WIN32: 13)
> C:\xxx\xx.inf (organization = "xxx xxx xxxx")
>
> If I don't specify an organization it works fine.
>
>
> [NewRequest]
> Organization="xxx xxx xxxx"
> Country=US
> Subject="xx.xxe.xxxeg.com"
> KeySpec=1
> KeyLength=1024
> Exportable=TRUE
> MachineKeySet=TRUE
> SMIME=False
> PrivateKeyArchive=FALSE
> UserProtected=FALSE
> UseExistingKeySet=FALSE
> ProviderName="Microsoft RSA SChannel Cryptographic Provider"
> ProviderType=12
> RequestType=PKCS10
> KeyUsage=0xa0
>
> [EnhancedKeyUsageExtension]
> OID=1.3.6.1.5.5.7.3.1 ; this is for Server Authentication
>
> [RequestAttributes]
> SAN="dns=XXXXXadam.XXe.xxxeg.com"
|