Stock recovery says e signature failure when trying to install cwm.

After finally rooting my Samsung galaxy s, I went and installed ROM manager in hopes of downloading cyanogenmod but it says that it successfully flashed it but when I reboot into recovery, it goes to the stock recovery and says that the e signature failed and the installation was aborted. How do I fix this? I've tried applying an update zip from the stock recovery and same thing.