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 FEBRUARY 06, 2024

Applies to:

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


When using the OWSM Policy - "oracle/http_basic_auth_over_ssl_service_policy" an error occurs.

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> <> <WSM-00042> <The request must be made over SSL.>
<Error> <> <WSM-00006> <Error in receiving the request: WSM-00042.>
<Error> <oracle.wsm.resources.enforcement> <WSM-07607> <Failure in execution of assertion {}http-security executor class>
<Error> <oracle.wsm.resources.enforcement> <WSM-07501> <Failure in Oracle WSM Agent processRequest, category=security, function=agent.function.service, application=default, composite=<COMPOSITE>, modelObj=<MODEL>, policy=oracle/http_basic_auth_over_ssl_service_policy, policyVersion=null, assertionName={}http-security.
oracle.wsm.common.sdk.WSMException: GenericFault : generic error
at oracle.wsm.policyengine.impl.runtime.AssertionExecutor.execute(
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeSimpleAssertion(
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.executeAndAssertion(
at oracle.wsm.policyengine.impl.runtime.WSPolicyRuntimeExecutor.execute(
at oracle.wsm.policyengine.impl.PolicyExecutionEngine.execute(
at oracle.wsm.agent.WSMAgent.processCommon(
at oracle.wsm.agent.WSMAgent.processRequest(

Caused By: 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.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.