InSecurity: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Linha 1: | Linha 1: | ||
=OpenSSL= | =OpenSSL= | ||
<syntaxhighlight lang=bash> | <syntaxhighlight lang=bash> | ||
export SITE= | export SITE=wiki.clusterlab.com.br | ||
openssl s_client -showcerts -servername $SITE -connect $SITE:443 | \ | openssl s_client -showcerts -servername $SITE -connect $SITE:443 | \ | ||
sed -n "/BEGIN CERTIFICATE/,/END CERTIFICATE/p" | \ | sed -n "/BEGIN CERTIFICATE/,/END CERTIFICATE/p" | \ |
Edição das 14h08min de 28 de maio de 2020
OpenSSL
export SITE=wiki.clusterlab.com.br
openssl s_client -showcerts -servername $SITE -connect $SITE:443 | \
sed -n "/BEGIN CERTIFICATE/,/END CERTIFICATE/p" | \
tee -a /home/$HOME/azc/lib/python3.6/site-packages/certifi/cacert.pem >> /etc/ssl/certs/ca-certificates.crt
Python Pip
pip config set global.cert /etc/ssl/certs/ca-certificates.crt
pip install xxxxxxx --upgrade --trusted-host files.pythonhosted.org --trusted-host pypi.org --trusted-host pypi.python.org
Azure cli
virtualenv -p $(which python3) azc
source azc/bin/activate
pip install pip --upgrade
pip install azure-cli
export AZURE_CLI_DISABLE_CONNECTION_VERIFICATION=1
az login --use-device-code
Kubectl
kubectl --insecure-skip-tls-verify
Maven
mvn -Dmaven.wagon.http.ssl.insecure=true package