You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo -e "\nDev Proxy uses a self-signed certificate to intercept and inspect HTTPS traffic.\nUpdate the certificate in your Keychain so that it's trusted by your browser? (Y/n)? \c"
4
+
read -n 1 answer
5
+
6
+
if [ "$answer"="n" ];then
7
+
echo -e "\n\033[1;33mTrust the certificate in your Keychain manually to avoid errors.\033[0m\n"
8
+
exit 1
9
+
fi
10
+
11
+
echo -e "\n"
12
+
13
+
cert_name="Dev Proxy CA"
14
+
# export cert from keychain to PEM
15
+
echo"Exporting Dev Proxy certificate..."
16
+
security find-certificate -c "$cert_name" -a -p > dev-proxy-ca.pem
0 commit comments