Hi,
we are trying to install the management server as part of APIGEE installation with same licence file across different servers. One got successfully completed and other one is getting the error below
2018-07-17 14:22:43,330 org: env: target: contextId: action: main ERROR SERVICE.LICENSE - CryptoUtilsImpl.decrypt() : Corrupt license file found
javax.crypto.BadPaddingException: Decryption error
at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380) ~[na:1.8.0_161]
at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291) ~[na:1.8.0_161]
at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:363) ~[sunjce_provider.jar:1.8.0_161]
at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:389) ~[sunjce_provider.jar:1.8.0_161]
at javax.crypto.Cipher.doFinal(Cipher.java:2165) ~[na:1.8.0_161]
at com.apigee.license.crypto.CryptoUtilsImpl.decrypt(CryptoUtilsImpl.java:71) ~[licensing-1.0.0.jar:na]
at com.apigee.license.LicenseServiceHelper.loadLicense(LicenseServiceHelper.java:176) [licensing-1.0.0.jar:na]
at com.apigee.license.LicenseServiceHelper.(LicenseServiceHelper.java:47) [licensing-1.0.0.jar:na]
at com.apigee.license.LicenseServiceHelper.(LicenseServiceHelper.java:43) [licensing-1.0.0.jar:na]
at com.apigee.license.ScheduledLicenseValidator.(ScheduledLicenseValidator.java:29) [licensing-1.0.0.jar:na]
at com.apigee.license.opdk.LicensingServiceImpl.start(LicensingServiceImpl.java:40) [licensing-1.0.0.jar:na]
at com.apigee.kernel.service.deployment.ServiceDeployer.startService(ServiceDeployer.java:168) [microkernel-1.0.0.jar:na]
at com.apigee.kernel.service.deployment.ServiceDeployer.deploy(ServiceDeployer.java:71) [microkernel-1.0.0.jar:na]
at com.apigee.kernel.service.deployment.ServiceDeployer.deployDependantServices(ServiceDeployer.java:356) [microkernel-1.0.0.jar:na]
at com.apigee.kernel.service.deployment.ServiceDeployer.deploy(ServiceDeployer.java:77) [microkernel-1.0.0.jar:na]
at com.apigee.kernel.service.deployment.ServiceDeployer.deployDependantServices(ServiceDeployer.java:356) [microkernel-1.0.0.jar:na]
at com.apigee.kernel.service.deployment.ServiceDeployer.deploy(ServiceDeployer.java:77) [microkernel-1.0.0.jar:na]
at com.apigee.kernel.MicroKernel.deployAll(MicroKernel.java:190) [microkernel-1.0.0.jar:na]
at com.apigee.kernel.MicroKernel.start(MicroKernel.java:151) [microkernel-1.0.0.jar:na]
at com.apigee.kernel.MicroKernel.start(MicroKernel.java:146) [microkernel-1.0.0.jar:na]
at com.apigee.kernel.MicroKernel.main(MicroKernel.java:95) [microkernel-1.0.0.jar:na]
How come the same licence file will show as corrupted when we are installing in other servers? I have done dos2unix.exe while moving license file from windows to unix environment. any suggestion would be helpful.
thanks
Sridhar A
