View Single Post
Old 08-29-2007, 07:41 AM  
magic_
Junior Member
 
Join Date: Aug 2007
Posts: 5
Default update 2..

ZR,

I made an exact copy of the contents of your rsa_keygen.bat file. I also checked my makecert.exe version and it seems to be identical to the one you have, i.e 5.131.1863.1 .

Here is the output of your .bat file:
Code:
C:\Documents and Settings\magic\Desktop>rsa_keygen.bat
This batch will generate an SChannel compatible RSA 1024bits key for your ioFTPD

-----
Please enter your server's hostname (example: xxx.dyndns.org):kebabfabriken.xxxxx.xxx
Please Wait ... generating new certificate
-----
Error: Can't create the key of the subject ('JoeSoft')
Failed
-----
Press any key to continue . . .
I can't seem to figure out where JoeSoft come from?

I use a special version of WinXP Pro SP2. Its pretty stripped down (using nlite) to use very little memory and other resources. Maybe that could be the cause too, that something ( a service etc) is needed to create certificates? Any ideas of what makecert.exe is dependent of if that is the case?

I tried creating a certificate on my laptop which worked without any problem using my .bat file, not your rsa_keygen.bat file. Whats weird is that i use the same stripped down version of Windows XP pro SP2 on my laptop. Is is possible to copy it over to my other pc? wild shot, but i assume you cant do that. hmm

This is the line that worked for me on my laptop:

makecert.exe -r -n "CN=kebabfabriken" -eku 1.3.6.1.5.5.7.3.1 -ss my -sr CurrentUser -a sha1 -sk kebabfabriken -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 kebabfabriken.cer

Ideas? :/

Last edited by magic_; 08-29-2007 at 08:15 AM. Reason: update..
magic_ is offline   Reply With Quote