Skip to content
Snippets Groups Projects
Commit 258255ac authored by Klas Arvidsson's avatar Klas Arvidsson
Browse files

squid certificate update

parent cb892c8a
No related branches found
No related tags found
2 merge requests!8Updated the configuration file for the AUTH server.,!7Merge of PDK, broker, auth
Pipeline #53963 passed
...@@ -19,6 +19,11 @@ ...@@ -19,6 +19,11 @@
# http://tentix.ida.liu.se:3128/squid-internal-mgr/info # http://tentix.ida.liu.se:3128/squid-internal-mgr/info
# #
# Yearly update of certificate: # Yearly update of certificate:
# run make_certificate.sh
# restart squid service
# update dotfiles
#
# OLD
# 1. Generate certificate: # 1. Generate certificate:
# openssl req -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 -keyout myCA.pem -out myCA.pem # openssl req -new -newkey rsa:2048 -sha256 -days 365 -nodes -x509 -keyout myCA.pem -out myCA.pem
# openssl x509 -in myCA.pem -outform DER -out myCA.der # openssl x509 -in myCA.pem -outform DER -out myCA.der
...@@ -35,7 +40,7 @@ ...@@ -35,7 +40,7 @@
# certutil -d sql:./.pki/nssdb -D -n "exam.ida.liu.se - Linkoping university" # certutil -d sql:./.pki/nssdb -D -n "exam.ida.liu.se - Linkoping university"
# certutil -d sql:./.pki/nssdb -L # certutil -d sql:./.pki/nssdb -L
# OLD. Change in exam environment, (after added in Chromium myCA.der end up "somewhere" in ~/.pki/* # OLDER: Change in exam environment, (after added in Chromium myCA.der end up "somewhere" in ~/.pki/*
# Use this command to edit chrome exam template settings: # Use this command to edit chrome exam template settings:
# env -i XAUTHORITY=/home/examadm/.Xauthority DISPLAY=$DISPLAY HOME=/home/examadm/Version-3.1/sea/env/courses/template_student_home_files/owned_by_uid chromium-browser --proxy-server="exam.ida.liu.se:3128" --temp-profile # env -i XAUTHORITY=/home/examadm/.Xauthority DISPLAY=$DISPLAY HOME=/home/examadm/Version-3.1/sea/env/courses/template_student_home_files/owned_by_uid chromium-browser --proxy-server="exam.ida.liu.se:3128" --temp-profile
...@@ -121,7 +126,7 @@ http_access deny all ...@@ -121,7 +126,7 @@ http_access deny all
# Squid normally listens to port 3128 # Squid normally listens to port 3128
# http_port 3128 # http_port 3128
http_port 3128 ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=/etc/ssl/certs/squid/Oct20-Oct21/myCA.pem http_port 3128 ssl-bump generate-host-certificates=on dynamic_cert_mem_cache_size=4MB cert=/etc/pki/tls/certs/squid/current/exam.crt
always_direct allow all always_direct allow all
ssl_bump server-first all ssl_bump server-first all
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment