It is likely you have an old bouncycastle file in your lib/ folder. Make sure you clear out that folder prior to extracting the latest nightly...
If you are on Centos, you might as well use the RPM builds. Openfire - Nightly RPM Build (trunk): Plan summary - Atlassian Bamboo
daryl