While importing a new *.pfx file to update the SSL certificate on the Autosys 12.0 installation using java 1.8.252 and error is being generated:
keytool error: java.security.UnrecoverableKeyException: Private key not stored as PKCS#8 EncryptedPrivateKeyInfo: java.io.IOException: ObjectIdentifier() -- data isn't an object ID (tag = 48)
Autosys 12.x
The error is seen because of a Java version compatibility issue.
The fix for this is to update to the latest version of java 1.8.x
Make sure to use Java 8. Other releases are not supported at this time.
1) If you have a direct contract with Oracle, you can download and use Oracle Java directly
2) Other options:
a) https://adoptium.net/temurin/releases?version=8
b) https://developer.ibm.com/languages/java/semeru-runtimes/downloads --> make sure to select Java 8
c) https://www.azul.com/downloads/?version=java-8-lts&package=jdk
Note: Only Azul above has Linux x86 version, 32bit Java that is needed for Autosys 11.x. Autosys 12.x does not have this x86 dependency)
Follow the steps in the Autosys documentation to use the above modules and replace the existing JREs