APEX SSL

Require HTTPS

Always

BEGIN

APEX_INSTANCE_ADMIN.SET_PARAMETER('REQUIRE_HTTPS', 'A');

COMMIT;

END;


Alternatively, login to APEX INTERNAL workspace and navigate to Manage Instance - Security - HTTP Protocol - Require HTTPS.
Note that you may not be able to back out this change via this route if you can't successfully connect as HTTPS.

For Development and Administration

BEGIN

APEX_INSTANCE_ADMIN.SET_PARAMETER('REQUIRE_HTTPS', 'I');

COMMIT;

END;

Disable

Note that this still allows application specific enforcement of HTTPS requirement.

BEGIN

APEX_INSTANCE_ADMIN.SET_PARAMETER('REQUIRE_HTTPS', 'N');

COMMIT;

END;