{"id":12647,"date":"2017-11-09T20:12:46","date_gmt":"2017-11-09T20:12:46","guid":{"rendered":"https:\/\/ephesoft.com\/docs\/?p=12647"},"modified":"2021-09-28T14:05:03","modified_gmt":"2021-09-28T21:05:03","slug":"how-to-encrypt-db-connections-with-ephesoft-transact","status":"publish","type":"docs","link":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/how-to-encrypt-db-connections-with-ephesoft-transact\/","title":{"rendered":"How to encrypt DB connections with Ephesoft Transact"},"content":{"rendered":"

Applies to: <\/strong>2019.2<\/p>\n

Some users may need to encrypt the connection to a database from Ephesoft Transact. To do so, the jtds driver that Transact uses must be updated.<\/p>\n

<\/a>Prerequisites<\/h2>\n

You will need to download the updated driver and extract the JAR file to a temporary location. The driver is available on the Ephesoft Customer Support<\/a> portal Downloads<\/strong> page.<\/p>\n

<\/a>User Instructions<\/h2>\n

Perform the following steps to encrypt the connection to a database.<\/p>\n

    \n
  1. \n
      \n
    1. Stop the Transact server.<\/li>\n
    2. Go to [Install_Directory<\/em>]\\Ephesoft\\JavaAppServer\\lib and back up the existing jtds*.jar driver.<\/li>\n
    3. Paste the updated jtds-1.3.1.jar in the directory.<\/li>\n
    4. Go to [Install_Directory<\/em>]\\Ephesoft\\Application\\WEB-INF\\lib and back up the existing jtds*.jar driver.<\/li>\n
    5. Paste the updated jtds-1.3.1.jar in the directory.<\/li>\n
    6. If updating the connection for Transact databases, go to [Install_Directory<\/em>]\\Ephesoft\\JavaAppServer\\conf and edit the server.xml file. Add the following to all available connection strings in JNDI resources:<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n
      encrypt=true;trustServerCertificate=true;ssl=require<\/pre>\n

      The complete string should look something like this:<\/p>\n

      jdbc:jtds:sqlserver:\/\/<servername>;databaseName=<databasename>;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.database.windows.net;loginTimeout=30;ssl=require<\/pre>\n

      Enable SSL under SQL Server Configuration<\/strong> manager.<\/p>\n

      \"image007.jpg\"<\/p>\n

      In the Certificate<\/strong> tab, select a certificate.<\/p>\n

      \"\"<\/p>\n

      If updating the connection from the Transact Connection Manager<\/strong>, configure the connection normally and add the following:<\/p>\n

      encrypt=true;trustServerCertificate=true;ssl=require<\/pre>\n

      The complete string should look something like this:<\/p>\n

      jdbc:jtds:sqlserver:\/\/<servername>;databaseName=<databasename>;encrypt=true;trustServerCertificate=false;hostNameInCertificate=*.database.windows.net;loginTimeout=30;ssl=require<\/pre>\n

      After configurations are complete, restart the Transact server.<\/p>\n","protected":false},"featured_media":0,"parent":22092,"menu_order":10,"comment_status":"closed","ping_status":"open","template":"","doc_tag":[],"yoast_head":"\nHow to encrypt DB connections with Ephesoft Transact | Ephesoft Docs<\/title>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to encrypt DB connections with Ephesoft Transact\" \/>\n<meta property=\"og:description\" content=\"Applies to: 2019.2 Some users may need to encrypt the connection to a database from Ephesoft Transact. To do so, […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/how-to-encrypt-db-connections-with-ephesoft-transact\/\" \/>\n<meta property=\"og:site_name\" content=\"Ephesoft Docs\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-28T21:05:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ephesoft.com\/docs\/wp-content\/uploads\/2017\/11\/image007-jpg.jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/how-to-encrypt-db-connections-with-ephesoft-transact\/\",\"url\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/how-to-encrypt-db-connections-with-ephesoft-transact\/\",\"name\":\"How to encrypt DB connections with Ephesoft Transact | Ephesoft Docs\",\"isPartOf\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\"},\"datePublished\":\"2017-11-09T20:12:46+00:00\",\"dateModified\":\"2021-09-28T21:05:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/how-to-encrypt-db-connections-with-ephesoft-transact\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/how-to-encrypt-db-connections-with-ephesoft-transact\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/how-to-encrypt-db-connections-with-ephesoft-transact\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/ephesoft.com\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Transact\",\"item\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"System Configuration\",\"item\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Security Configuration\",\"item\":\"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How to encrypt DB connections with Ephesoft Transact\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ephesoft.com\/docs\/#website\",\"url\":\"https:\/\/ephesoft.com\/docs\/\",\"name\":\"Ephesoft Docs\",\"description\":\"Intelligent Document Processing Made Easy\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ephesoft.com\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to encrypt DB connections with Ephesoft Transact | Ephesoft Docs","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"How to encrypt DB connections with Ephesoft Transact","og_description":"Applies to: 2019.2 Some users may need to encrypt the connection to a database from Ephesoft Transact. To do so, […]","og_url":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/how-to-encrypt-db-connections-with-ephesoft-transact\/","og_site_name":"Ephesoft Docs","article_modified_time":"2021-09-28T21:05:03+00:00","og_image":[{"url":"https:\/\/ephesoft.com\/docs\/wp-content\/uploads\/2017\/11\/image007-jpg.jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/how-to-encrypt-db-connections-with-ephesoft-transact\/","url":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/how-to-encrypt-db-connections-with-ephesoft-transact\/","name":"How to encrypt DB connections with Ephesoft Transact | Ephesoft Docs","isPartOf":{"@id":"https:\/\/ephesoft.com\/docs\/#website"},"datePublished":"2017-11-09T20:12:46+00:00","dateModified":"2021-09-28T21:05:03+00:00","breadcrumb":{"@id":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/how-to-encrypt-db-connections-with-ephesoft-transact\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/how-to-encrypt-db-connections-with-ephesoft-transact\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/how-to-encrypt-db-connections-with-ephesoft-transact\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ephesoft.com\/docs\/"},{"@type":"ListItem","position":2,"name":"Transact","item":"https:\/\/ephesoft.com\/docs\/products\/transact\/"},{"@type":"ListItem","position":3,"name":"System Configuration","item":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/"},{"@type":"ListItem","position":4,"name":"Security Configuration","item":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/"},{"@type":"ListItem","position":5,"name":"How to encrypt DB connections with Ephesoft Transact"}]},{"@type":"WebSite","@id":"https:\/\/ephesoft.com\/docs\/#website","url":"https:\/\/ephesoft.com\/docs\/","name":"Ephesoft Docs","description":"Intelligent Document Processing Made Easy","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ephesoft.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/12647"}],"collection":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/comments?post=12647"}],"version-history":[{"count":0,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/12647\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/22092"}],"prev":[{"title":"Certificate error while using web scanner module - EphesoftTransactScannerService","link":"https:\/\/ephesoft.com\/docs\/products\/transact\/configurations\/security-configuration\/certificate-error-while-using-web-scanner-module-ephesofttransactscannerservice\/","href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/docs\/15915"}],"wp:attachment":[{"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/media?parent=12647"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/ephesoft.com\/docs\/wp-json\/wp\/v2\/doc_tag?post=12647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}