View Single Post
Old 08-29-2007, 06:23 AM  
Zer0Racer
Senior Member
 
Join Date: Oct 2002
Posts: 703
Default

They way I do it using a bat-file called rsa_keygen.bat and it looks like this
Code:
@echo off
echo This batch will generate an SChannel compatible RSA 1024bits key for your ioFTPD
echo -----
set temphost=
set /P temphost=Please enter your server's hostname (example: xxx.dyndns.org):
echo Please Wait ... generating new certificate
echo -----
makecert.exe -r -n CN=%temphost% -b 01/01/2005 -e 01/01/2015 -eku 1.3.6.1.5.5.7.3.1 -ss my -sr CurrentUser -a sha1 -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 ioftpd.cer
echo -----
pause
The version of makecert.exe is 5.131.1863.1 and when I try the exact command you're using it works. Which Windows version are you using? Maybe there is a special makecert version for it or something.


/ZR

EDIT: After some research I found that there is a special version of makecert for Windows Vista and if you try to run it on WinXP SP2 it says it's not a valid 32-bit application. (http://forums.microsoft.com/MSDN/Sho...40297&SiteID=1) They suggest downloading the codesigningX86.exe from cryptguard.com (http://www.cryptguard.com/documentat...es_tools.shtml) since it's no longer available from microsoft.com. Direct link: https://www.cryptguard.com/files/codesigningx86.exe

Hope it helps.

Last edited by Zer0Racer; 08-29-2007 at 06:34 AM.
Zer0Racer is offline   Reply With Quote