My Oracle Support Banner

Unable To Add SNI To Http Header When Using APEX_WEB_SERVICE.make_rest_request (Doc ID 2217830.1)

Last updated on MAY 19, 2021

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.


1) We are required to use SNI in our HTTP connections so that there is a server_name extension added to the Client Hello message as shown below:

Extension: server_name
  Type: server_name (0x0000)
  Length: 29
  Server Name Indication extension
  Server Name list length: 27
  Server Name Type: host_name (0)
  Server Name length: 24
  Server Name:

How do we add this when using APEX_WEB_SERVICE.make_rest_request?


2) Accessing web service through HTTPS fails with ORA-29259 error or ORA-28860 error. The server is SNI enabled.
Is this feature SNI supported by UTL_HTTP?


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.