
{"id":6946,"date":"2022-01-05T06:25:24","date_gmt":"2022-01-05T06:25:24","guid":{"rendered":"https:\/\/rax-stg-wp-aws.com\/blogs\/how-to-configure-tde-auto-login-wallet-in-oracle-19c\/"},"modified":"2026-11-03T19:27:18","modified_gmt":"2026-11-03T19:27:18","slug":"how-to-configure-tde-auto-login-wallet-in-oracle-19c","status":"publish","type":"blogs","link":"https:\/\/www.rackspace.com\/de\/blogs\/how-to-configure-tde-auto-login-wallet-in-oracle-19c\/","title":{"rendered":"How to Configure TDE Auto Login Wallet in Oracle 19c"},"content":{"rendered":"<p>In this post, we will discuss about enabling Transparent Data Encryption \u2013 TDE in Oracle 19c.<\/p>\n<p>\nTo configure Auto Login Wallet in Oracle 19c there are few parameters which needs to be set in spfile\/pfile.<\/p>\n<h3>Step 1&nbsp;<\/h3>\n<p>Create Wallet folder in ASM<\/p>\n<p>If necessary, create a wallet directory. Typically, wallet directory is located in `ASM or $ORACLE_BASE\/admin\/db_unique_name\/wallet.`&nbsp;<br \/>\nIdeally wallet directory should be empty.<br \/>\n`.\/grid.env &#8212; asm file system environment file env`<br \/>\n`asmcmd`<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c-1_0.png\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c-1\" \/><\/p>\n<h3>Step 2<\/h3>\n<p>Update wallet details in the parameter file.<\/p>\n<p>You must configure Keystore location and type by setting WALLET_ROOT and TDE_CONFIGURATION parameters in pfile or spfile.<br \/>\n`. .\/clprod.env`<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c-2_0.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c-2\" \/><\/p>\n<h3>Step 3. Restart the Database<\/h3>\n<p>Source the container database environment<br \/>\n`. clprod.env`<\/p>\n<p>`sqlplus &#8216;\/as sysdba&#8217;`<\/p>\n<p>`show con_name;`<\/p>\n<p>`CON_NAME`<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\nCDB$ROOT<\/p>\n<p>CLPROD&gt; shut immediate<\/p>\n<p>Database closed.<\/p>\n<p>Database dismounted.<\/p>\n<p>ORACLE instance shut down.<\/p>\n<p>CLPROD&gt; startup<\/p>\n<p>ORACLE instance started.<\/p>\n<p>Total System Global Area 16106127360 bytes<\/p>\n<p>Fixed Size 35621984 bytes<\/p>\n<p>Variable Size 1017607903 bytes<\/p>\n<p>Database Buffers 534432665431 bytes<\/p>\n<p>Redo Buffers 9817655 bytes<\/p>\n<p>Database mounted.<\/p>\n<p>Database opened.<\/p>\n<p>or if RAC<\/p>\n<p>`srvctl status database -d CLPROD`<\/p>\n<p>`srvctl stop database -d CLPROD`<\/p>\n<p>`srvctl start database -d CLPROD`<\/p>\n<h3><strong>Step 4.Check the status of the wallet<\/strong><\/h3>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c-3_0.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c -3\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c-4_0.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c -4\" \/><\/p>\n<h3>Step 5. Create KEYSTORE for container<\/h3>\n<p>Source the container database environment<br \/>\n`. clprod.env`<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c-5_0.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c -5\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c-6_0.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c -6\" \/><\/p>\n<p>&nbsp;Source the container database environment<br \/>\n`. clprod.env`<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c-7_0.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c -7\" \/><\/p>\n<h3>Step 7. Create an Auto-Login or a Local Auto-Login Software Keystore<br \/>\nSource the container database environment<\/h3>\n<p>`. clprod.env`&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c-8_0.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c - 8\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c-9_0.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c-9\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c-10.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c -10\" \/><\/p>\n<h3>Step 8. Restart the Database `sqlplus &#8216;\/as sysdba&#8217;&nbsp;<\/h3>\n<p>`CLPROD&gt; shut immediate`<\/p>\n<p>Database closed.<\/p>\n<p>Database dismounted.<\/p>\n<p>ORACLE instance shut down.<\/p>\n<p>CLPROD&gt; startup<\/p>\n<p>ORACLE instance started.<\/p>\n<p>Total System Global Area 16106127360 bytes<\/p>\n<p>Fixed Size 35621984 bytes<\/p>\n<p>Variable Size 1017607903 bytes<\/p>\n<p>Database Buffers 534432665431 bytes<\/p>\n<p>Redo Buffers 9817655 bytes<\/p>\n<p>Database mounted.<\/p>\n<p>Database opened.<\/p>\n<p>or if RAC<\/p>\n<p>`srvctl status database -d CLPROD`<\/p>\n<p>`srvctl stop database -d CLPROD`<\/p>\n<p>`srvctl start database -d CLPROD`<\/p>\n<h3>Step 9. Verify autologin<\/h3>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c-11.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c-11\" \/><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c-12.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c- 12\" \/><\/p>\n<h3>&nbsp;Step 10. Recreate temp tspace in cdb<\/h3>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c-13.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c-13\" \/><\/p>\n<h3>&nbsp;Step 11. Enable TDE for all container tablespaces<\/h3>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c14.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c-14\" \/><\/p>\n<h3>Step 12. Drop and recreate temp tspace for the pdb (prod)&nbsp;<\/h3>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c-15.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c-15\" \/><\/p>\n<h3>Step 13. Restart the application services.&nbsp;<\/h3>\n<h3>Step 14. Start Tablespace encryption<\/h3>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;a) Run the following command on VNC as terminal no.1<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-body-How-to-Configure-TDE-Auto-Login-Wallet-in-Oracle-19c-16.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c-16\" \/><\/p>\n<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; b) Run the following command on VNC as terminal no.2<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/25795-body-Picture17.png\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c-17\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/25795-body-Picture18.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c-18\" \/><\/p>\n<h3>\nUpdate\/edit the encrypt_prod_tspaces2.sql and run it to start the encryption for other tablespaces.&nbsp;<\/h3>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/25795-body-Picture19.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c-19\" \/><\/p>\n<h3>Complete the APPSUNDO tablespaces &amp; system tspace at the end individually.&nbsp;<\/h3>\n<h3>Make sure this is done only after all the other tablespaces are encrypted completely<\/h3>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/25795-body-Picture20.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c - 20\" \/><\/p>\n<p>Incase if the encryption process errors are out you need to restart the encryption process by using the following command.<\/p>\n<p><strong>To restart a failed encryption:<\/strong><\/p>\n<p><img decoding=\"async\" src=\"\/wp-content\/uploads\/2026\/blog_article_images\/25795-body-Picture21.PNG\" alt=\"How to Configure TDE Auto Login Wallet in Oracle 19c - 21\" \/><\/p>\n<h2>Conclusion<\/h2>\n<p>Security<br \/>\nAfter the data is encrypted, it is transparently decrypted for authorized users or applications when accessed. TDE helps protect data stored on media (also called data at rest) if the storage media or data file is stolen.<\/p>\n<p>Data is safe (some tools don\u2019t encrypt by default).<\/p>\n<p>Whole database encryption also hides SYSTEM, SYSAUX, TEMP and UNDO data.<\/p>\n<p>You don\u2019t need OMF anymore if you use tablespace online encryption.&nbsp;<\/p>\n<p>Keystore can be closed even SYSTEM, SYAUX and UNDO is encrypted.<\/p>\n<p>Reference: 2586100.1<br \/>\n2559570.1<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Configure TDE Auto Login Wallet in Oracle 19c<\/p>\n","protected":false},"author":2,"featured_media":6948,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","format":"standard","meta":{"content-type":"","nid":"25795","content_type":"blog","created_by":"10130","authored_on":"2023-07-30T05:25:24+00:00","field_article_industries":"","tag_category":"Technical","field_blog_author_text":"by Rackspace Technology Staff","seo_description":"Discover how to enable Transparent Data Encryption and configure Auto Login Wallet in Oracle 19c for enhanced data security.\r\n","field_featured_image":"","insights_image":"\/wp-content\/uploads\/2026\/blog_technical_images\/25795-insights_image-oracle-technical-blog-1-insights.jpg","field_partners":"","rxt_platforms":"Oracle, Oracle ERP","product":"","publisheddate":"2022-01-05T06:25:24","rxt_solutions":"Applications","opengraph_tag":"","x_tag":"","teaser_flag":"Technical Blog","seo_titile":"Setup Transparent Data Encryption Wallet","field_topics":"","field_slug":"how-to-configure-tde-auto-login-wallet-in-oracle-19c","footnotes":""},"categories":[178],"tags":[204],"class_list":["post-6946","blogs","type-blogs","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","tag-technical"],"_links":{"self":[{"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/blogs\/6946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/blogs"}],"about":[{"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/types\/blogs"}],"author":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/comments?post=6946"}],"version-history":[{"count":3,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/blogs\/6946\/revisions"}],"predecessor-version":[{"id":17130,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/blogs\/6946\/revisions\/17130"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/media\/6948"}],"wp:attachment":[{"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/media?parent=6946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/categories?post=6946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rackspace.com\/de\/wp-json\/wp\/v2\/tags?post=6946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}