Config XDB for https ssl access
960445Sep 6 2012 — edited Sep 10 2012Hello,
I’m trying to configure an Oracle DB 11g for https access. I tried to set the port to 8089 and the protocol to tcps.
When I execute the following lines of code, I always get an Error, that the xml-file is not ok. But when validate the output of my modification on the XML, it says that it is OK.
Screenshot of the Error-Massage: https://dl.dropbox.com/u/13247554/fb_comments/ORA-ERROR.JPG
DECLARE
configxml SYS.XMLType;
configxml2 SYS.XMLType;
begin
SELECT insertXMLBefore((insertXMLBefore(DBMS_XDB.cfg_get(),
'/xdbconfig/sysconfig/protocolconfig/httpconfig/authentication',
XMLType('<http2-protocol xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">tcps</http2-protocol>'))),
'/xdbconfig/sysconfig/protocolconfig/httpconfig/authentication',
XMLType('<http2-port xmlns="http://xmlns.oracle.com/xdb/xdbconfig.xsd">8080</http2-port>'))
into configxml2
from dual;
-- Update the configuration to use the modified version
DBMS_XDB.cfg_update(configxml2);
END;
Does anybody has the same problem and can help me?_