File tree Expand file tree Collapse file tree 4 files changed +22
-6
lines changed
conda-code-server/setup/scripts
workstation-base/setup/scripts Expand file tree Collapse file tree 4 files changed +22
-6
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ # Only use if vscode.sh is not able to download extensions due to ssl issues
4
+
5
+ cd /config/
6
+ rm -r /config/extensions
7
+ git clone https://github.com/SamPIngram/code-server-extensions.git extensions
8
+
9
+ echo " Script completed :)"
Original file line number Diff line number Diff line change 15
15
else
16
16
echo " trusted-host = pypi.python.org pypi.org files.pythonhosted.org" | sudo tee -a /etc/pip.conf
17
17
fi
18
- if grep -Fxq " Options = UnsafeLegacyServerConnect " /etc/ssl/openssl.cnf
18
+ if grep -Fxq " Options = UnsafeLegacyRenegotiation " /etc/ssl/openssl.cnf
19
19
then
20
- echo " Options = UnsafeLegacyServerConnect not added to /etc/ssl/openssl.cnf"
20
+ echo " Options = UnsafeLegacyRenegotiation not added to /etc/ssl/openssl.cnf"
21
21
else
22
- echo " Options = UnsafeLegacyServerConnect " | sudo tee -a /etc/ssl/openssl.cnf
22
+ echo " Options = UnsafeLegacyRenegotiation " | sudo tee -a /etc/ssl/openssl.cnf
23
23
fi
24
24
printf ' %*s\n' " ${COLUMNS:- $(tput cols)} " ' ' | tr ' ' -
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # switch out christie certificates with your own.
3
+
4
+ cp /etc/ssl/certs/cht-topol.xchristie.nhs.uk-withchain.crt ~ /ssl/cert.pem
5
+ cp /etc/ssl/certs/cht-topol.xchristie.nhs.uk.key ~ /ssl/cert.key
6
+
7
+ echo " Certificates Copied! Restart Container. :)"
Original file line number Diff line number Diff line change 15
15
else
16
16
echo " trusted-host = pypi.python.org pypi.org files.pythonhosted.org" | sudo tee -a /etc/pip.conf
17
17
fi
18
- if grep -Fxq " Options = UnsafeLegacyServerConnect " /etc/ssl/openssl.cnf
18
+ if grep -Fxq " Options = UnsafeLegacyRenegotiation " /etc/ssl/openssl.cnf
19
19
then
20
- echo " Options = UnsafeLegacyServerConnect not added to /etc/ssl/openssl.cnf"
20
+ echo " Options = UnsafeLegacyRenegotiation not added to /etc/ssl/openssl.cnf"
21
21
else
22
- echo " Options = UnsafeLegacyServerConnect " | sudo tee -a /etc/ssl/openssl.cnf
22
+ echo " Options = UnsafeLegacyRenegotiation " | sudo tee -a /etc/ssl/openssl.cnf
23
23
fi
24
24
printf ' %*s\n' " ${COLUMNS:- $(tput cols)} " ' ' | tr ' ' -
You can’t perform that action at this time.
0 commit comments