I tried upgrading my Openfire 3.8.2 install to 3.9.1 today. After doing all the upgrade steps and trying to start openfire it failed with the message in the nohup.out file of
Exception in thread "main" java.lang.ExceptionInInitializerError
at org.jivesoftware.openfire.spi.ConnectionManagerImpl.isClientSSLListenerEnabled( ConnectionManagerImpl.java:625)
...
...
Caused by: java.lang.SecurityException: class "org.bouncycastle.asn1.ASN1Primitive"'s signer information does not match signer information of other classes in the same package
...
...
I am using Sun JRE 1.6.0_43 on a CentOS box