Cannot Create SSL Connection Using OAM PPP Option (Doc ID 1489194.1)

Last updated on MARCH 08, 2017

Applies to:

COREid Access - Version 10.1.4.3.0 and later
Information in this document applies to any platform.

Symptoms

Customer has a customer PPP plugin that fires when a change is made to an attribute via webpass

When using PPP code with Oracle Access Manager to connect to an SSL enabled server, the SSL structure is not populated and an error occurs.

Here is a flow of what is experienced:
FLOW FROM A SUCCESSFUL SSL CONNECTION (SAME CODE, BUT IT NOT CALLED FROM OAM VIA PPP CATALOG):
PPP code called from “void main()” call inserted into the request handler PPP code and called from outside of OAM.
If this is the first time , obInitEventAPI initiates logfile for use.
PPP routine [requestHandler] receives dummy event from “void main()”. A blank IDXML is created for the event handler.
PPP routine [requestHandler] then creates the socket connection for the event handler host (host ==> usmcc.dev.gweb.eds.com on port 443)
If SSL is enabled, the PPP routine [requestHandler]:
  Initializes the SSL libraries.
  Loads error strings.
  Loads the OpenSSL BIO strings.
PPP routine [requestHandler] creates the certificate context (CTX)
PPP routine [requestHandler] calls "connectSSLHost" to create the SSL structure which holds the SSL connection information
PPP routine [connectSSLHost] creates SSL structure based on CTX information and loads the CTX into the SSL structure.
PPP routine [connectSSLHost] attaches the corresponding OpenSSL basic input and output (BIO) information to the SSL.
PPP routine [connectSSLHost] connects the SSL structure to the socket created and returns to the requestHandler.
PPP routine [requestHandler] calls "sendSSLRequest" to create and send the IDXML to the eventhandler
PPP routine [sendSSLRequest] attaches the required SOAP wrapper information to the IDXML received .
PPP routine [sendSSLRequest] sends the new XML to the eventhandler via the SSL connection created and returns to the requestHandler
PPP routine [requestHandler] calls "getSSLResponse" to retrieve the response from the event handler.
PPP routine [getSSLRe

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