title: Getting "ORA-28759: failure to open file" while trying to connect to TLS1.2 enabled Oracle DB
body: <p>I am trying to connect to <em>TLS1.2</em> enabled <em>Oracle DB</em>. I am using <em>godror package</em> (Go Driver for Oracle DB). While trying to connect, I am getting &quot;<strong>ORA-28759: failure to open file</strong>&quot;. Please find the attached code snippet that is being used:</p>
  <pre><code>package main
  
  import (
      &quot;database/sql&quot;
      &quot;log&quot;
      &quot;time&quot;
  
      godror &quot;github.com/godror/godror&quot;
  )
  
  
  func main() {
  
      var P godror.ConnectionParams
      
      P.Username = &lt;username&gt;
      P.Password = godror.NewPassword(&quot;&lt;password&gt;&quot;)
      P.ConnectString = &quot;(DESCRIPTION=(ADDRESS=(PROTOCOL=TCPS)(HOST=&lt;hostname&gt;)(PORT=&lt;port&gt;))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=&lt;service_name&gt;)))&quot;
  
      db := sql.OpenDB(godror.NewConnector(P))
  
      dberr := db.Ping()
      
      if dberr != nil {
          log.Printf(&quot;Oracle Database connection failed  %s&quot;, dberr)
      } else {
          log.Printf(&quot;Oracle Database connection established using existing password!&quot;)
      }
  }
  </code></pre>