AnsweredAssumed Answered

AFX SSL Installation Error

Question asked by Steve Alexandre on Sep 18, 2019
Latest reply on Dec 4, 2019 by Steve Alexandre

Hi,

 

When I try to install the AFX Server, I have an error :

 

[root@akhenaton deploy]# ./installAFX.sh -q
Is JAVA_HOME set?
Current value JAVA_HOME=/etc/alternatives/java_sdk_openjdk
/etc/alternatives/java_sdk_openjdk directory is present
New value JAVA_HOME=/etc/alternatives/java_sdk_openjdk
Installation started on Wed Sep 18 10:38:04 UTC 2019

QUIET mode specified. User prompts will be disabled.
Setting MULE_HOME to /home/oracle/AFX/esb...

Expanding AFX server archive to /tmp/AFX...

Configuring AFX environment script...

Configuring SSL Certificates for AFX Server...
Args: createclient afx.localhost.localdomain /tmp/AFX/esb/conf
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 7 more

FATAL ERROR!! Failed to create SSL certificate for AFX server using Aveksa CA

FAILURE!! AFX installation FAILED due to FATAL ERRORS on Wed Sep 18 10:38:09 UTC 2019

Please see /tmp/afx-install.log for more information.

Outcomes