Advertisement
Guest User

Untitled

a guest
Feb 25th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. ## pg_hba.conf - SSL TESTING
  2. hostssl mike mike 192.168.56.106/32 md5
  3.  
  4. $ openssl x509 -in server.crt -noout -dates
  5. notBefore=Feb 22 18:29:39 2019 GMT
  6. notAfter=Feb 23 18:29:39 2019 GMT
  7.  
  8. postgres:/db/postgresql/10/data>psql "sslmode=require host=192.168.56.105 dbname=mike user=mike"
  9. Password:
  10. psql (10.7)
  11. SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
  12. Type "help" for help.
  13. mike=>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement