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

Atlassian JIRA | Ted Tencza | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0
  2. 0
  3. 0

    The provider signing blues

    Oracle Community | 1 decade ago | 843810
    java.lang.SecurityException: The provider BC may not be signed by a trusted party
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Sun JCE Provider

    Oracle Community | 1 decade ago | 843810
    java.lang.SecurityException: The provider SunJCE may not be signed by a trusted party
  6. 0

    encryption and decryption required

    Coderanch | 1 decade ago | pendse anagha
    java.lang.SecurityException: Cannot set up certs for trusted CAs: java.lang.SecurityException: Cannot locate policy and/or framework files for signer restraint check!

    Root Cause Analysis

    1. java.lang.SecurityException

      JCE cannot authenticate the provider BC

      at javax.crypto.SunJCE_b.a()
    2. Android Platform
      KeyGenerator.getInstance
      1. javax.crypto.SunJCE_b.a(DashoA12275)
      2. javax.crypto.KeyGenerator.getInstance(DashoA12275)
      2 frames
    3. com.atlassian.security
      DefaultCurrentApplication.encode
      1. com.atlassian.security.auth.trustedapps.BouncyCastleEncryptionProvider$BCKeyFactory.generateSecretKey(BouncyCastleEncryptionProvider.java:264)
      2. com.atlassian.security.auth.trustedapps.BouncyCastleEncryptionProvider$ValidatingSecretKeyFactory.generateSecretKey(BouncyCastleEncryptionProvider.java:288)
      3. com.atlassian.security.auth.trustedapps.BouncyCastleEncryptionProvider.createEncryptedCertificate(BouncyCastleEncryptionProvider.java:206)
      4. com.atlassian.security.auth.trustedapps.DefaultCurrentApplication.encode(DefaultCurrentApplication.java:49)
      4 frames
    4. com.atlassian.sal
      HttpClientRequest.addTrustedTokenAuthentication
      1. com.atlassian.sal.jira.trusted.JiraCertificateFactory.createCertificate(JiraCertificateFactory.java:14)
      2. com.atlassian.sal.core.net.auth.TrustedTokenAuthenticator.<init>(TrustedTokenAuthenticator.java:18)
      3. com.atlassian.sal.core.net.HttpClientRequest.addTrustedTokenAuthentication(HttpClientRequest.java:97)
      4. com.atlassian.sal.core.net.HttpClientRequest.addTrustedTokenAuthentication(HttpClientRequest.java:50)
      4 frames
    5. com.atlassian.studio
      RemoteSearchProvider.<init>
      1. com.atlassian.studio.core.search.RemoteSearchProvider.<init>(RemoteSearchProvider.java:39)
      1 frame