View Full Version : running io as a service.. NEED SSL!
Hi..
i'm using firedaemon, to run ioFTPD as a service.
But i cant get SSL to work..
Anyone have any ideas ? :P
You need to install the ssl cert through firedaemon aswell to make it work. Create a .bat file for installing the cert and run the bat through FD
hmmm.. how do i do that... ?
some kind of script ?
well, to create a cert you need makecert.exe, which you can google for. Then create a bat file with the following:
makecert.exe -r -n "CN=your.dns.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.dns.name.here -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12
Replace 'your.dns.name.here' and save it as a .bat file in the same place as makecert.exe. Then create a service in FD to run the batch file. After this SSL should work and you may delete the service you just created
I just tried that..
this is what i get.. :/
[R] 220 FTP Server ready.
[R] AUTH SSL
[R] 504 AUTH %s unsupported.
[R] Retrying after 30 seconds for
Am i not supposet to add the certificate somewhere?
this is what firedaemon wrote..
Wed Oct 05 21:47:03 2005 [0xb68]: Starting: FireDaemon Pro v1.7 GA (Build 2123)
Wed Oct 05 21:47:03 2005 [0xb68]: Parameters for service 'ssl':
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: ServiceExe = 'C:\ioFTPD\cert\rsa.bat'
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: ServiceWorkingDir = 'C:\ioFTPD\cert'
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: ServiceParams = ''
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: ServiceDelay = 3000
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: DisplayName = 'ssl'
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: DisplayNamePrefixDefined = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: DisplayNamePrefix = 'FireDaemon Service: '
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: Description = ''
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: ConsoleApp = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: InteractWithDesktop = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: PreLaunchDelay = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: ShowWindow = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: JobType = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: SMFEnabled = 1
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: SMFFrequency = 5000
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: UponExit = 1
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: ShutdownDelay = 5000
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: UponFlap = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: FlapCount = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: AffinityMask = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: Priority = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: EventLogging = 1
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: RedirStdout = ''
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: RedirStderr = ''
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: RedirStderrToStdout = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: StartTime = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: EndTime = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: StartDate = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: EndDate = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: RunDays = 127
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: MonthFrom = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: MonthTo = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: MonthDay = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: RestartFreq = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: RestartDelay = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: DebugEnabled = 1
Wed Oct 05 21:47:03 2005 [0xb68]: Parameter: DebugLogFile = 'C:\ioFTPD\cert\debug.log'
Wed Oct 05 21:47:03 2005 [0xb68]: SvcConfig: startUpMode = 1
Wed Oct 05 21:47:03 2005 [0xb68]: SvcConfig: loadOrderGroup = ''
Wed Oct 05 21:47:03 2005 [0xb68]: SvcConfig: accountName = ''
Wed Oct 05 21:47:03 2005 [0xb68]: SvcConfig: accountPassword = ''
Wed Oct 05 21:47:03 2005 [0xb68]: SvcConfig: accountPasswordSet = 0
Wed Oct 05 21:47:03 2005 [0xb68]: SvcConfig: interactWithDesktop = 0
Wed Oct 05 21:47:03 2005 [0xb68]: Service 'ssl': Event no. 0 [0x0]
Wed Oct 05 21:47:03 2005 [0xb68]: Ckpt: 2 State: Start-pending [2]
Wed Oct 05 21:47:03 2005 [0xb68]: Starting scheduling thread
Wed Oct 05 21:47:03 2005 [0xb68]: Starting monitoring thread
Wed Oct 05 21:47:03 2005 [0xb68]: Ckpt: 3 State: Start-pending [2]
Wed Oct 05 21:47:03 2005 [0xb68]: Service initialization complete.
Wed Oct 05 21:47:03 2005 [0xb68]: Service 'ssl': Event no. 1 [0x1]
Wed Oct 05 21:47:03 2005 [0xb68]: Ckpt: 0 State: Running [4]
Wed Oct 05 21:47:03 2005 [0xb68]: Waiting on hSyncEvent.
Wed Oct 05 21:47:03 2005 [0x698]: Starting ScheduleSubProcess
Wed Oct 05 21:47:03 2005 [0x698]: Service 'ssl': Event no. 16 [0x10]
Wed Oct 05 21:47:03 2005 [0x698]: Launching process 'C:\ioFTPD\cert\rsa.bat'
Wed Oct 05 21:47:03 2005 [0x698]: Starting the process Non Interactively, flags = 0x00000024
Wed Oct 05 21:47:03 2005 [0x698]: CreateProcess() call returned 1
Wed Oct 05 21:47:03 2005 [0x698]: Child's initial thread has been resumed ok.
Wed Oct 05 21:47:03 2005 [0xdd8]: Starting MonitorSubProcess
Try checking the box: Console Application!
works..
Just needed reboot of ioFTPD..
rehash not enough..
hehe
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2024, vBulletin Solutions, Inc.