My Oracle Support Banner

oracle/http_basic_auth_over_ssl_service_policy Not Working And Giving a WSM-00042 Error. (Doc ID 2415838.1)

Last updated on JUNE 27, 2018

Applies to:

Oracle Web Services Manager - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Symptoms

Using the OWSM Policy - "oracle/http_basic_auth_over_ssl_service_policy" and it is not working.

ERROR
-----------------------
As this is a REST service, the error being returned to the client is a HTTP-404 not found error.  Looking in the logs, the following is seen:

<Error> <oracle.wsm.resources.security> <WSM-00042> <The request must be made over SSL.>
<Error> <oracle.wsm.resources.security> <WSM-00006> <Error in receiving the request: WSM-00042.>
<Error> <oracle.wsm.resources.enforcement> <WSM-07607> <Failure in execution of assertion {http://schemas.oracle.com/ws/2006/01/securitypolicy}http-security executor class oracle.wsm.security.policy.scenario.executor.HttpSecurityScenarioExecutor.>
<Error> <oracle.wsm.resources.enforcement> <WSM-07501> <Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.service, application=default, composite=TestSSL, modelObj=testssl_client_ep, policy=oracle/http_basic_auth_over_ssl_service_policy, policyVersion=null, assertionName={http://schemas.oracle.com/ws/2006/01/securitypolicy}http-security.
oracle.wsm.common.sdk.WSMException: GenericFault : generic error
at oracle.wsm.security.policy.scenario.executor.HttpSecurityScenarioExecutor.receiveRequest(HttpSecurityScenarioExecutor.java:229)
at oracle.wsm.security.policy.scenario.executor.SecurityScenarioExecutor.execute(SecurityScenarioExecutor.java:649)
at oracle.wsm.policyengine.impl.runtime.AssertionExecutor.execute(AssertionExecutor.java:44)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeSimpleAssertion(WSPolicyRuntimeExecutor.java:526)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeAndAssertion(WSPolicyRuntimeExecutor.java:438)
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.execute(WSPolicyRuntimeExecutor.java:385)
at oracle.wsm.policyengine.impl.PolicyExecutionEngine.execute(PolicyExecutionEngine.java:175)
at oracle.wsm.agent.WSMAgent.processCommon(WSMAgent.java:1307)
at oracle.wsm.agent.WSMAgent.processRequest(WSMAgent.java:580)

Caused By: oracle.wsm.security.policy.scenario.policycompliance.PolicyComplianceException: WSM-00042 : The request must be made over SSL.

The request is being sent via SSL to a load balancer which is, in turn, forwarding the request to the end service.

Changes

 

Cause

To view full details, 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 a vibrant support community of peers and Oracle experts.