{"id":2053,"date":"2015-10-31T14:00:47","date_gmt":"2015-10-31T13:00:47","guid":{"rendered":"http:\/\/www.oradba.ch\/?p=2053"},"modified":"2016-05-10T17:40:11","modified_gmt":"2016-05-10T15:40:11","slug":"wallet_location-in-sqlnet-ora-for-container-databases","status":"publish","type":"post","link":"https:\/\/www.oradba.ch\/wordpress\/2015\/10\/wallet_location-in-sqlnet-ora-for-container-databases\/","title":{"rendered":"WALLET_LOCATION in sqlnet.ora for Container Databases"},"content":{"rendered":"<p>Recently I&#8217;ve setup Oracle Enterprise User Security (EUS) with Oracle Unified Directory (OUD) on my favorite linux test system. Among regular 11.2.0.4 and 12.1.0.2 databases I do also have a 12.1.0.2 Container Database. EUS work like a charm on the regular databases but not on the PDB. <\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">\r\nSQL&gt; conn soe\r\nEnter password: \r\nERROR:\r\nORA-28305: WALLET_LOCATION in sqlnet.ora file for container database is not\r\nsupported.\r\n\r\n\r\nWarning: You are no longer connected to ORACLE.\r\n<\/pre>\n<p>The error seems to be a bit weird. So fare I&#8217;ve explicitly set the wallet location to make sure the wallet it somewhere I decided. I have a shared <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">sqlnet.ora<\/code> file, where I use <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">$ORACLE_SID<\/code> in the path for the different instances. An excerpt from my <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">sqlnet.ora<\/code> file<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">\r\n...\r\nWALLET_LOCATION =\r\n  (SOURCE =\r\n    (METHOD = File)\r\n    (METHOD_DATA = (DIRECTORY = \/u00\/app\/oracle\/admin\/$ORACLE_SID\/wallet)))\r\n\r\nENCRYPTION_WALLET_LOCATION=\r\n (SOURCE=\r\n  (METHOD=FILE)\r\n   (METHOD_DATA=\r\n    (DIRECTORY=\/u00\/app\/oracle\/admin\/$ORACLE_SID\/tde_wallet\/)))\r\n...\r\n<\/pre>\n<p>The action described for the Oracle Error Message <a href=\"http:\/\/docs.oracle.com\/database\/121\/ERRMG\/e24280.htm#ORA-28305\" target=\"_blank\">ORA-28305<\/a> is clear. Remove WALLET_LOCATION from <code class=\"EnlighterJSRAW\" data-enlighter-language=\"bash\">sqlnet.ora<\/code> to use EUS also for Container Databases.<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\">SQL&gt; conn soe\r\nEnter password: \r\nConnected.\r\nSQL&gt; @sousrinf\r\nDatabase Information\r\n--------------------\r\n- DB_NAME\t\t: TDB12C\r\n- DB_DOMAIN\t\t:\r\n- INSTANCE\t\t: 1\r\n- INSTANCE_NAME \t: TDB12C\r\n- SERVER_HOST\t\t: o-sec\r\n-\r\nAuthentification Information\r\n----------------------------\r\n- SESSION_USER\t\t: C##SOE\r\n- PROXY_USER\t\t:\r\n- AUTHENTICATION_METHOD : PASSWORD\r\n- IDENTIFICATION_TYPE\t: GLOBAL SHARED\r\n- NETWORK_PROTOCOL\t:\r\n- OS_USER\t\t: oracle\r\n- AUTHENTICATED_IDENTITY: SOE\r\n- ENTERPRISE_IDENTITY\t: cn=soe,cn=Users,dc=trivadistraining,dc=com\r\n-\r\nOther Information\r\n-----------------\r\n- ISDBA \t\t: FALSE\r\n- CLIENT_INFO\t\t:\r\n- PROGRAM\t\t: sqlplus@o-sec (TNS V1-V3)\r\n- MODULE\t\t: SQL*Plus\r\n- IP_ADDRESS\t\t:\r\n- SID\t\t\t: 39\r\n- SERIAL#\t\t: 47117\r\n- SERVER\t\t: DEDICATED\r\n- TERMINAL\t\t: pts\/6\r\n\r\nPL\/SQL procedure successfully completed.<\/pre>\n<p>The corresponding Oracle Bug <em><a href=\"https:\/\/support.oracle.com\/epmos\/faces\/BugDisplay?id=17758886\" target=\"_blank\">17758886<\/a><\/em> has been rejected as &#8220;not a Bug&#8221;. Oracle\u00ae Database Net Services Reference 12c Release 1 (12.1) <a href=\"http:\/\/docs.oracle.com\/database\/121\/NETRF\/sqlnet.htm#NETRF257\">WALLET_LOCATION<\/a> does not mention PDB&#8217;s. There is only some information in the Oracle\u00ae Database Reference 12c Release 1 (12.1) <a href=\"http:\/\/docs.oracle.com\/database\/121\/REFRN\/GUID-42D7474A-331D-4171-8071-513B42F40524.htm#GUID-42D7474A-331D-4171-8071-513B42F40524__GUID-C2A87B72-F311-4FF6-BB56-7854D45EC9F8\" target=\"_blank\">Using LDAP_DIRECTORY_ACCESS with PDBs<\/a>.<\/p>\n<h3>Conclusion<\/h3>\n<p>It seems, that with PDB&#8217;s it is not possible to explicitly set a wallet location. If the default location is not appropriate for your database environment, you have to use soft links use an alternative location for your wallet.<\/p>\n<p>By the way, the wallet for TDE or for Secure External Password Store (SEPS) is not affected. You may still set WALLET_LOCATION for SEPS or ENCRYPTION_WALLET_LOCATION for TDE.  <\/p>\n<h3>References<\/h3>\n<p>Some links related to this topic.<\/p>\n<ul>\n<li>Oracle\u00ae Database Error Messages 12c Release 1 (12.1) <a href=\"http:\/\/docs.oracle.com\/database\/121\/ERRMG\/e24280.htm#ORA-28305\" target=\"_blank\">ORA-28305<\/a><\/li>\n<li>Oracle\u00ae Database Reference 12c Release 1 (12.1) <a href=\"http:\/\/docs.oracle.com\/database\/121\/REFRN\/GUID-42D7474A-331D-4171-8071-513B42F40524.htm#GUID-42D7474A-331D-4171-8071-513B42F40524__GUID-C2A87B72-F311-4FF6-BB56-7854D45EC9F8\" target=\"_blank\">Using LDAP_DIRECTORY_ACCESS with PDBs<\/a><\/li>\n<li>Bug <em><a href=\"https:\/\/support.oracle.com\/epmos\/faces\/BugDisplay?id=17758886\" target=\"_blank\">17758886<\/a><\/em> ENABLING EUS FOR PDB BREAKS SSL CLIENT-SERVER CONNECTIVITY<\/li>\n<li>How to configure SEPS for the pluggable databases [<em><a href=\"https:\/\/support.oracle.com\/epmos\/faces\/DocumentDisplay?id=1980698.1\" target=\"_blank\">1980698.1<\/a><\/em>]<\/li>\n<\/ul>\n<p>If time permits, I&#8217;ll write a few blog post about setting up and configuring EUS with OUD.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I&#8217;ve setup Oracle Enterprise User Security (EUS) with Oracle Unified Directory (OUD) on my favorite linux test system. Among regular 11.2.0.4 and 12.1.0.2 databases I do also have a 12.1.0.2 Container Database. EUS work like a charm on the regular databases but not on the PDB. SQL&gt; conn soe Enter password: ERROR: ORA-28305: WALLET_LOCATION [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"WALLET_LOCATION in sqlnet.ora for Container Databases #trivadis","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[83,142,11],"tags":[148,144,147,150,145,111,146],"class_list":["post-2053","post","type-post","status-publish","format-standard","hentry","category-12cr1","category-oud","category-security","tag-enterprise-user-security","tag-eus","tag-ora-28305","tag-oud","tag-seps","tag-tvdsecexpert","tag-wallet"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1aErb-x7","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2185,"url":"https:\/\/www.oradba.ch\/wordpress\/2016\/09\/losing-the-oracle-wallet-for-enterprise-user-security\/","url_meta":{"origin":2053,"position":0},"title":"Losing the Oracle Wallet for Enterprise User Security","author":"Stefan","date":"14. September 2016","format":false,"excerpt":"Having a reliable backup solution for your Transparent Data Encryption (TDE) or Enterprise User Security (EUS) Wallets, is beyond discussion. Nevertheless it can happen that you lose or corrupt the Oracle Wallet. With Transparent Data Encryption (TDE), this is really bad luck, because you can not access your encrypted data.\u2026","rel":"","context":"In &quot;11gR2&quot;","block_context":{"text":"11gR2","link":"https:\/\/www.oradba.ch\/wordpress\/category\/oracle-database\/11gr2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1836,"url":"https:\/\/www.oradba.ch\/wordpress\/2014\/07\/secure-external-password-store-for-rman\/","url_meta":{"origin":2053,"position":1},"title":"Secure External Password Store for RMAN","author":"Stefan","date":"22. July 2014","format":false,"excerpt":"The draft version of this blog post is lying around for some time in my inbox. I've never found time to finish it. But due to a task in a project it's about time to finish my notes on Oracle's Secure External Password Store. Ludovico, a work colleague has already\u2026","rel":"","context":"In &quot;11gR2&quot;","block_context":{"text":"11gR2","link":"https:\/\/www.oradba.ch\/wordpress\/category\/oracle-database\/11gr2\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2943,"url":"https:\/\/www.oradba.ch\/wordpress\/2019\/03\/configure-oracle-eusm-to-use-ldaps\/","url_meta":{"origin":2053,"position":2},"title":"Configure Oracle EUSM to use LDAPS","author":"Stefan","date":"1. March 2019","format":false,"excerpt":"With the introduction of Oracle 18c, [cci]eusm[\/cci] is officially designated as an Enterprise User Security Utility. It is now officially documented of the Enterprise User Security Administrator's Guide. Before we had to be content with the somewhat sparse MOS note 1085065.1 EUSM, Command Line Tool For EUS Administration and Some\u2026","rel":"","context":"In &quot;18c&quot;","block_context":{"text":"18c","link":"https:\/\/www.oradba.ch\/wordpress\/category\/oracle-database\/18c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2921,"url":"https:\/\/www.oradba.ch\/wordpress\/2019\/02\/oud-12c-sslhandshakeexception-with-no-cipher-suites-in-common\/","url_meta":{"origin":2053,"position":3},"title":"OUD 12c &#8211; SSLHandshakeException with &#8220;no cipher suites in common&#8221;","author":"Stefan","date":"22. February 2019","format":false,"excerpt":"Recently I've update the java installation of my Oracle Unified Directory (OUD) 12.2.1.0.3 to the latest release. Java 1.8.0 update 202 to be exact (p28916775_180202_Linux-x86-64.zip). Actually a piece of cake, I've done this a few times in the past. My Enterprise User Security (EUS) test environment is running in Docker.\u2026","rel":"","context":"In &quot;18c&quot;","block_context":{"text":"18c","link":"https:\/\/www.oradba.ch\/wordpress\/category\/oracle-database\/18c\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":13925,"url":"https:\/\/www.oradba.ch\/wordpress\/2023\/09\/oracle-sqlnet-tls-configuration-simplified\/","url_meta":{"origin":2053,"position":4},"title":"Oracle SQLNet TLS configuration simplified","author":"Stefan","date":"12. September 2023","format":false,"excerpt":"Most security measures for Oracle databases are usually aimed at protecting and hardening the database itself. This includes secure configuration, implementation of the least privilege principle, reduction of the attack surface, encryption at REST, database audit and much more. Sometimes, however, it is forgotten that the database also communicates with\u2026","rel":"","context":"In &quot;Howto&quot;","block_context":{"text":"Howto","link":"https:\/\/www.oradba.ch\/wordpress\/category\/howto\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/ca_list.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2456,"url":"https:\/\/www.oradba.ch\/wordpress\/2017\/12\/oracle-unified-directory-on-docker\/","url_meta":{"origin":2053,"position":5},"title":"Oracle Unified Directory on Docker","author":"Stefan","date":"13. December 2017","format":false,"excerpt":"A bit a while ago I've started to use Docker for miscellaneous purposes. Not really an early adopter, but I still hope I caught the train just in time. :-) In one of my customer project, I did have to set up a couple of OUD instance to develop and\u2026","rel":"","context":"In &quot;Docker&quot;","block_context":{"text":"Docker","link":"https:\/\/www.oradba.ch\/wordpress\/category\/docker\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.oradba.ch\/wordpress\/wp-content\/uploads\/OUD_Moby-300x209.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts\/2053","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/comments?post=2053"}],"version-history":[{"count":1,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts\/2053\/revisions"}],"predecessor-version":[{"id":2054,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/posts\/2053\/revisions\/2054"}],"wp:attachment":[{"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/media?parent=2053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/categories?post=2053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oradba.ch\/wordpress\/wp-json\/wp\/v2\/tags?post=2053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}