java.lang.IllegalStateException

Cannot decrypt: key=onboard.apps[0].awsSecretKey

Solutions on the web5922

  • Cannot decrypt: key=onboard.apps[0].awsSecretKey
  • via Google Groups by Andrew Tillinghast, 2 weeks ago
    Cannot decrypt: key=cas.authn.ldap[0].bindCredential
  • Cannot decrypt: key=foo.bar
  • Stack trace

    • java.lang.IllegalStateException: Cannot decrypt: key=onboard.apps[0].awsSecretKey at org.springframework.cloud.bootstrap.encrypt.EnvironmentDecryptApplicationInitializer.decrypt(EnvironmentDecryptApplicationInitializer.java:195)[spring-cloud-context-1.1.1.RELEASE.jar:1.1.1.RELEASE] at org.springframework.cloud.bootstrap.encrypt.EnvironmentDecryptApplicationInitializer.decrypt(EnvironmentDecryptApplicationInitializer.java:164)[spring-cloud-context-1.1.1.RELEASE.jar:1.1.1.RELEASE] at org.springframework.cloud.bootstrap.encrypt.EnvironmentDecryptApplicationInitializer.initialize(EnvironmentDecryptApplicationInitializer.java:94)[spring-cloud-context-1.1.1.RELEASE.jar:1.1.1.RELEASE] at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:633)[spring-boot-1.4.0.RC1.jar:1.4.0.RC1] at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:347)[spring-boot-1.4.0.RC1.jar:1.4.0.RC1] at org.springframework.boot.SpringApplication.run(SpringApplication.java:311)[spring-boot-1.4.0.RC1.jar:1.4.0.RC1] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)[spring-boot-1.4.0.RC1.jar:1.4.0.RC1] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)[spring-boot-1.4.0.RC1.jar:1.4.0.RC1] at com.company.platform.config.publisher.PublisherApplication.main(PublisherApplication.java:13)[main/:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_74] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_74] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_74] at java.lang.reflect.Method.invoke(Method.java:498)[na:1.8.0_74] at org.springframework.boot.devtools.restart.RestartLauncher.run(RestartLauncher.java:49)[spring-boot-devtools-1.4.0.RC1.jar:1.4.0.RC1] Caused by: org.springframework.security.crypto.codec.InvalidBase64CharacterException: Bad Base64 input character decimal 37 in array position 76 at org.springframework.security.crypto.codec.Base64.decode(Base64.java:629)[spring-security-crypto-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.security.crypto.codec.Base64.decode(Base64.java:253)[spring-security-crypto-4.1.0.RELEASE.jar:4.1.0.RELEASE] at org.springframework.security.rsa.crypto.RsaSecretEncryptor.decrypt(RsaSecretEncryptor.java:165)[spring-security-rsa-1.0.1.RELEASE.jar:na] at org.springframework.cloud.bootstrap.encrypt.EnvironmentDecryptApplicationInitializer.decrypt(EnvironmentDecryptApplicationInitializer.java:187)[spring-cloud-context-1.1.1.RELEASE.jar:1.1.1.RELEASE] ... 13 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago