Guest User

Untitled

a guest
Dec 19th, 2017
94
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # From startscript
  2. $ openssl version -d | grep -Po '(?<=\").*(?=\")'
  3. /usr/lib/ssl
  4.  
  5. # Also from startscript. Some distros put the certificates into a certs subfolder, some don't
  6. $ ls /usr/lib/ssl/certs/ca-certificates.crt
  7. /usr/lib/ssl/certs/ca-certificates.crt
  8.  
  9. # Actually /usr/lib/ssl is just a symlink to /etc/ssl/certs
  10. $ ls -l /usr/lib/ssl/certs
  11. lrwxrwxrwx 1 root root 14 Aug 28 11:12 /usr/lib/ssl/certs -> /etc/ssl/certs
  12.  
  13. # Which package is responsible for installing the certs?
  14. $ dpkg -S /etc/ssl/certs/
  15. ssl-cert, openssl, ca-certificates: /etc/ssl/certs
  16.  
  17. # I have it installed, surprose
  18. $ dpkg -l | grep ssl-cert
  19. ii ssl-cert 1.0.38 all simple debconf wrapper for OpenSSL
RAW Paste Data