Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

pg ssl settings js

const config = {
  database: 'database-name',
  host: 'host-or-ip',
  // this object will be passed to the TLSSocket constructor
  ssl: {
    rejectUnauthorized: false,
    ca: fs.readFileSync('/path/to/server-certificates/root.crt').toString(),
    key: fs.readFileSync('/path/to/client-key/postgresql.key').toString(),
    cert: fs.readFileSync('/path/to/client-certificates/postgresql.crt').toString(),
  },
}
Comment

PREVIOUS NEXT
Code Example
Javascript :: javascript select element with pointer 
Javascript :: plyr.js example in angular 10 
Javascript :: how to bind the dropdown data using ajax in .net mvc 
Javascript :: React native country code yarn 
Javascript :: javascript kommentare 
Javascript :: matrix array javascript 
Javascript :: how to unable input text in JS 
Javascript :: Minimize DOM access - JavaScript 
Javascript :: react native run on a particular emu 
Javascript :: Detect external link Click javascript 
Javascript :: set popper click outside 
Javascript :: javascript code to jquery online 
Javascript :: convert fetch promise to observable 
Javascript :: how to push an object into an array in reducer 
Javascript :: carry forward session storage one page to another page in javascript 
Javascript :: 4.5. Expressions and Evaluation¶ 
Javascript :: grotesque meaning 
Javascript :: exchange array.include(string) in Javascript to array.indexOf(string) == -1 in Typescript 
Javascript :: angular observer if not length 
Javascript :: 9.5. The Accumulator Pattern¶ 
Javascript :: json-parsejson-stringifyx-purpose 
Javascript :: 10.4.3. Arguments Are Optional // Functions 
Javascript :: how to log message with replacing placeholders in the string in js 
Javascript :: interact with flutter and javascript 
Javascript :: -1 in javascript 
Javascript :: on ddrop function react dropzone parameters 
Javascript :: js return vs break in for loop 
Javascript :: video playing 
Javascript :: dataForm js 
Javascript :: how to reset count in react 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =