eaccmd.sh Script Fails If Not Exporting SSL Oracle Credential Store (OCS) Variables In UNIX Platforms (Doc ID 2217391.1)

Last updated on DECEMBER 23, 2016

Applies to:

Oracle Commerce Guided Search / Oracle Commerce Experience Manager - Version 11.2 and later
Generic UNIX

Symptoms

When using SSL communication with EAC Server and the Oracle Credential Store (OCS) to avoid passing credentials in clear text, the related step from Guided Search Security Guide (Section: Enabling SSL for Platform Services -> Step: Editing eaccmd to enable SSL communication with the EAC server) gives the following instructions for implementing Oracle Credential Store (OCS) in eaccmd.sh script:

---start of quote---

b). To make use of credential store, edit eaccmd.bat and eaccmd.sh to pass credentials to the OCS:
...
eaccmd.sh

---end of quote---

If implementing the above code, the SSL OCS variables are not exported and the below eaccmd.sh command will fail with below error:

eaccmd.sh fully-qualified-hostname:SSL-port list-apps --force-ssl --verbose

...

AxisFault
...
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
...
Caused by: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
...
Caused by: java.security.UnrecoverableKeyException: Password must not be null

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms