java.lang.SecurityException: JCE cannot authenticate the provider BC

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by 843810, 1 year ago
The provider BC may not be signed by a trusted party
via Oracle Community by 843810, 1 year ago
The provider SunJCE may not be signed by a trusted party
via Oracle Community by 843811, 1 year ago
The provider BC may not be signed by a trusted party
via Oracle Community by 843810, 1 year ago
The provider BC may not be signed by a trusted party
java.lang.SecurityException: JCE cannot authenticate the provider BC
at javax.crypto.SunJCE_b.a(DashoA12275)
at com.atlassian.security.auth.trustedapps.BouncyCastleEncryptionProvider$BCKeyFactory.generateSecretKey(BouncyCastleEncryptionProvider.java:264)
at com.atlassian.security.auth.trustedapps.BouncyCastleEncryptionProvider$ValidatingSecretKeyFactory.generateSecretKey(BouncyCastleEncryptionProvider.java:288)
at com.atlassian.security.auth.trustedapps.BouncyCastleEncryptionProvider.createEncryptedCertificate(BouncyCastleEncryptionProvider.java:206)
at com.atlassian.security.auth.trustedapps.DefaultCurrentApplication.encode(DefaultCurrentApplication.java:49)
at com.atlassian.sal.jira.trusted.JiraCertificateFactory.createCertificate(JiraCertificateFactory.java:14)
at com.atlassian.sal.core.net.auth.TrustedTokenAuthenticator.(TrustedTokenAuthenticator.java:18)
at com.atlassian.sal.core.net.HttpClientRequest.addTrustedTokenAuthentication(HttpClientRequest.java:97)
at com.atlassian.sal.core.net.HttpClientRequest.addTrustedTokenAuthentication(HttpClientRequest.java:50)
at com.atlassian.studio.core.search.RemoteSearchProvider.(RemoteSearchProvider.java:39)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.