This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this is a workaround fix problem with Zscaler ssl sertificate on wsl2 | |
# donwload and copy the ssl certificate om | |
sudo cp /mnt/c/ZscalerRootCerts/ZscalerRootCertificate-2048-SHA256.pem /etc/ssl/certs/ | |
sudo update-ca-certificates |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo ${{ secrets.SONAR_HOST_URL }} | sed -e 's/\(.\)/\1 /g' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http 'https://api.github.com/XXXXX' \ | |
'Authorization: token ghp_PAT' \ | |
--verify=/c/ZscalerRootCerts/XXXXXXXXXX.pem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl --location --request GET 'https://api.github.com/XXXXXXXX' \ | |
--header 'Authorization: token ghp_XXXXXXXX_PAT' \ | |
--cacert /c/dir/XXXX_CERT.pem |