SHARE
TWEET

make ssl

punces Jan 6th, 2017 (edited) 237 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. chown -R nobody /var/log/squid
  2. chown -R nobody /cache
  3. mkdir -p /etc/squid/ssl_cert
  4. openssl req -new -newkey rsa:2048 -sha256 -days 3650 -nodes -x509 -keyout /etc/squid/ssl_cert/ssl-cespun.pem -out /etc/squid/ssl_cert/ssl-cespun.pem -subj "/C=ID/ST=Jawa Tengah/L=Ambarawa/O=TSI/CN=Terapi Squid Indonesia"
  5. openssl x509 -in /etc/squid/ssl_cert/ssl-cespun.pem -outform DER -out /etc/squid/ssl_cert/ssl-cespun.der
  6. openssl x509 -in /etc/squid/ssl_cert/ssl-cespun.pem -outform DER -out /etc/squid/ssl_cert/ssl-cespun.crt
RAW Paste Data
Top