Advertisement
punces

make ssl

Jan 6th, 2017
454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement