After applying an Off Line license in ER360, I get an error logging in:
javaj.security.InvalidKeyException: Missing key encoding
erwin Mart Portal may have generated an incomplete json file.
1. Stop all the services
2. Install the build 16479 or above.
3. Run the below query
DELETE FROM m9Config WHERE config_name IN ('LIC_RSA_PUBLIC_KEY', 'LIC_RSA_PRIVATE_KEY', 'RSA_PUBLIC_KEY', 'RSA_PRIVATE_KEY');
4. Open erwin Mart configuration and proceed with test/configure
5. Open erwin Mart configuration and Download host file
6. Generate a new offline license token from License Analytics.
7. Start all the services
8. Run the below query to see if there are 4 entries with config names 'LIC_RSA_PUBLIC_KEY', 'LIC_RSA_PRIVATE_KEY, 'RSA_PUBLIC_KEY, 'RSA_PRIVATE_KEY'
SELECT * FROM m9Config;
9. If ER360 is already initialized, run the below query
UPDATE m9Option SET O_Value = '<provide offline license here>' WHERE O_Key = 'LICENSE_CODE_ER360';
10. If ER360 is not initialized, provide the offline license token in License field and proceed.