Skip to content

Commit 0a91729

Browse files
committed
docs: add instructions to disable SSL check for VSCode/Cursor
1 parent 4d6db3c commit 0a91729

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

docs/development.rst

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,27 @@ Prepare certifications for command line tools::
8888
lume@lumes-Virtual-Machine ~ % security find-certificate -a -p /Library/Keychains/System.keychain > $HOME/Documents/system-certs.pem
8989
lume@lumes-Virtual-Machine ~ % security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain >> $HOME/Documents/system-certs.pem
9090
lume@lumes-Virtual-Machine ~ % cat <<EOF>>$HOME/.zprofile
91-
_certs="\$HOME/Documents/system-certs.pem"
92-
if [ -f "\$_certs" ];then
93-
export CERT_PATH="\$_certs"
94-
export SSL_CERT_FILE="\$_certs"
95-
export REQUESTS_CA_BUNDLE="\$_certs"
96-
fi
97-
unset _certs
98-
EOF
91+
_certs="\$HOME/Documents/system-certs.pem"
92+
if [ -f "\$_certs" ];then
93+
export CERT_PATH="\$_certs"
94+
export SSL_CERT_FILE="\$_certs"
95+
export REQUESTS_CA_BUNDLE="\$_certs"
96+
fi
97+
unset _certs
98+
EOF
99+
100+
Disable SSL check for VSCode/Cursor::
101+
102+
lume@lumes-Virtual-Machine ~ % cat <<EOF>> "$HOME/Library/Application Support/Code/User/settings.json"
103+
{
104+
"http.proxyStrictSSL": false,
105+
}
106+
EOF
107+
lume@lumes-Virtual-Machine ~ % cat <<EOF>> "$HOME/Library/Application Support/Cursor/User/settings.json"
108+
{
109+
"http.proxyStrictSSL": false,
110+
}
111+
EOF
99112

100113
From other terminal, stop VM::
101114

0 commit comments

Comments
 (0)