More digging into Oracle JDK and NSS on RHEL. The problem was caused by commenting out original SUN provider in java.security, instead of lowering it's priority. Now, all tests fail with following exception:
java.security.NoSuchAlgorithmException: PBKDF2WithHmacSHA1 SecretKeyFactory not available
at javax.crypto.SecretKeyFactory.<init>(SecretKeyFactory.java:121)
at javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:159)
at org.jboss.aerogear.simplepush.util.CryptoUtil.secretKey(CryptoUtil.java:125)
at org.jboss.aerogear.simplepush.util.CryptoUtilTest.encrypt(CryptoUtilTest.java:75)
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Bruno Oliveira +1 to enable openjdk everywhere.
More digging into Oracle JDK and NSS on RHEL. The problem was caused by commenting out original SUN provider in java.security, instead of lowering it's priority. Now, all tests fail with following exception: