Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mkdir -p /u/app/oracle/product/12.1.0.2/dbhome_2/owm/wallets/contur
- orapki wallet create -wallet /u/app/oracle/product/12.1.0.2/dbhome_2/owm/wallets/contur -pwd contur123 -auto_login
- orapki wallet add -wallet /u/app/oracle/product/12.1.0.2/dbhome_2/owm/wallets/contur -trusted_cert -cert "/u/app/oracle/product/12.1.0.2/dbhome_2/owm/wallets/contur/geo.p7b" -pwd contur123
- orapki wallet display -wallet /u/app/oracle/product/12.1.0.2/dbhome_2/owm/wallets/contur
- export ORACLE_SID=yest
- sqlplus / as sysdba
- exec DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('httpskontur.xml', 'Allow usage https access to focus-api.kontur.ru', 'IBS', TRUE, 'connect');
- exec DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('httpskontur.xml', host => 'focus-api.kontur.ru', lower_port => 443, upper_port => null);
- commit;
- -- Test
- sqlplus ibs/IBS@yest
- SELECT UTL_HTTP.REQUEST('https://focus-api.kontur.ru/api3',null, 'file:/u/app/oracle/product/12.1.0.2/dbhome_2/owm/wallets/contur','contur123') FROM DUAL;
- UTL_HTTP.REQUEST('HTTPS://FOCUS-API.KONTUR.RU/API3',NULL,'FILE:/U/APP/ORACLE/PRO
- --------------------------------------------------------------------------------
- <li class="active"><a href="#">?▒???▒???? ???????▒????????</a></li>
- <li><a href="news.html">?▒???????▒?▒??</a></li>
- <li><a href="req/userform">?▒???▒???????? ?▒?▒??????</a></li>
- <li><a href="https://kontur.ru/focus-api">?▒?▒??????-?▒?????▒</a></li>
- </ul>
- </div>
- </div>
- </nav>
- <div class="container">
- UTL_HTTP.REQUEST('HTTPS://FOCUS-API.KONTUR.RU/API3',NULL,'FILE:/U/APP/ORACLE/PRO
- --------------------------------------------------------------------------------
- <div class="row row-offcanvas row-offcanvas-right">
- <div class="col-xs-12 col-sm-9"
Advertisement
Add Comment
Please, Sign In to add comment