Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

rejectUnauthorized

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 :: functiong of array sort 
Javascript :: get random id javascript 
Javascript :: sending string from jquery ajax to asp.net mvc controller. 
Javascript :: babel plugins nuxt 
Javascript :: node.js how to install a custom version of packgage 
Javascript :: zxaas 
Javascript :: angular material slide effect button click 
Javascript :: jquery timeout 
Javascript :: node load testing-01 
Javascript :: check if string is json parsable 
Javascript :: logo ticker html javascript 
Javascript :: get-the-current-directory-name-in-javascript 
Javascript :: javascript YUP utilisation to math certain disire in forms 
Javascript :: aws lambda create 
Javascript :: time zone npm in next js 
Javascript :: get computer name in javascript in adobe livecycle designer 
Javascript :: json.parse() javascript 
Javascript :: redux counter 
Javascript :: javascript nested arrays stackoverflow 
Javascript :: minus converter 
Javascript :: Javascript Reverse Words O(n) time O(1) space 
Javascript :: replace html encodings node.js 
Javascript :: javascript nested destructuring 
Javascript :: $(document).ready(function () { $(".inputs").click(function () { alert($(this).id); }); }); 
Javascript :: how to import images from public folder in react js 
Javascript :: regular expression for beginners 
Javascript :: MongoDB Express Find All In Database 
Javascript :: jquery remove array of classes 
Javascript :: synchronous file reading 
Javascript :: JS in JSX. Whenever you need to add some JS, just put it inside curly braces {} 
ADD CONTENT
Topic
Content
Source link
Name
8+6 =