SeVeN_2
09-29-2004, 03:51 PM
Hi! :)
I try install SSL for my ioFTPD (beta5-8-5r) ... but ... when i execute bat a file ...
200-Error: Can't create the key of the subject ('SSL')
200-Failed
First, make sure you have those two variables in your etc\ioftpd.env:
SYSTEMDRIVE=%[environment(SYSTEMDRIVE)]
SYSTEMROOT=%[environment(SYSTEMROOT)]
[Ok]
Restart ioFTPD if you had to change your ioftpd.env.
[Ok]
Disable all SSL functions (simply commenting the Certificate_Name lines would do).
;Certificate_Name = 192.168.1.10
[Ok]
Place the makecert.exe & certmgr.exe in a directory that you can access from your FTP. Both executables can be downloaded directly from Microsoft (choose the x86 link).
put in ... c:\ioftpd\system ...
[Ok]
- Create a .bat file in the same directory, which would contain:
makecert.exe -r -n "CN=YOUR_CERT_NAME_HERE" -b 01/01/2004 -e 01/01/2006 -eku 1.3.6.1.5.5.7.3.1 -ss my -sr CurrentUser -a sha1 -sk YOUR_CERT_NAME_HERE -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12
YOUR_CERT_NAME_HERE = SSL
[Ok]
Login your FTP and execute your .bat file through a SITE EXEC command:
SITE EXEC your.bat
200-Error: Can't create the key of the subject ('SSL')
200-Failed
[FAiL] ...
Thx for any idea ... :)
I try install SSL for my ioFTPD (beta5-8-5r) ... but ... when i execute bat a file ...
200-Error: Can't create the key of the subject ('SSL')
200-Failed
First, make sure you have those two variables in your etc\ioftpd.env:
SYSTEMDRIVE=%[environment(SYSTEMDRIVE)]
SYSTEMROOT=%[environment(SYSTEMROOT)]
[Ok]
Restart ioFTPD if you had to change your ioftpd.env.
[Ok]
Disable all SSL functions (simply commenting the Certificate_Name lines would do).
;Certificate_Name = 192.168.1.10
[Ok]
Place the makecert.exe & certmgr.exe in a directory that you can access from your FTP. Both executables can be downloaded directly from Microsoft (choose the x86 link).
put in ... c:\ioftpd\system ...
[Ok]
- Create a .bat file in the same directory, which would contain:
makecert.exe -r -n "CN=YOUR_CERT_NAME_HERE" -b 01/01/2004 -e 01/01/2006 -eku 1.3.6.1.5.5.7.3.1 -ss my -sr CurrentUser -a sha1 -sk YOUR_CERT_NAME_HERE -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12
YOUR_CERT_NAME_HERE = SSL
[Ok]
Login your FTP and execute your .bat file through a SITE EXEC command:
SITE EXEC your.bat
200-Error: Can't create the key of the subject ('SSL')
200-Failed
[FAiL] ...
Thx for any idea ... :)