12c XDB: 401 Unauthorized (Doc ID 1603713.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Information in this document applies to any platform.

Symptoms

401 Unauthorized is faced when running

SELECT utl_http.request('https://<hostname>:<port>/orawsv/RIBWS/POSTRIBMSG?wsdl',null,'file:/opt/oracle/product/base/tnsadmin/cert_wallet','RVyMYd6JoRqUGIq07FyD') FROM DUAL;

UTL_HTTP.REQUEST('HTTPS://<hostname>:<port>/ORAWSV/RIBWS/POSTRIBMSG?WSDL',NULL,'FILE:/OPT/ORACLE/PRODUCT/BASE/TNSADMIN/CERT_WALLET','RVYMYD6JORQUGIQ07FYD')
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


401 Unauthorized

Unauthorized


The same happens in if in the following URL is put in the browser:

http://<hostname>:<port>/orawsv/RIBWS/POSTRIBMSG?wsdl1.

 

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