tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

install_certs.yml (720B)


      1 steps:
      2 - script: |
      3    set -eux -o pipefail
      4    # https://github.com/web-platform-tests/results-collection/blob/master/src/scripts/trust-root-ca.sh
      5    # only run this on macOS < 11
      6    [ "11" = "`echo -e $( sw_vers -productVersion )\\\n11 | sort -V | head -n1`" ] || sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain tools/certs/cacert.pem
      7  displayName: 'Install web-platform.test certificate (macOS)'
      8  condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'))
      9 - script: certutil –addstore -enterprise –f "Root" tools\certs\cacert.pem
     10  displayName: 'Install web-platform.test certificate (Windows)'
     11  condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))