• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

scenarios/15-Dec-2024-3,5643,121

adservices_untrusted_test_server.p12D15-Dec-20242.4 KiB

adservices_untrusted_test_server.p12.READMED15-Dec-2024866 2018

adservices_untrusted_test_server.p12.README

1The keystore `adservices_untrusted_test_server.p12` has been generated with the following commands
2and using the password `adservices_test`.
3The cert file `adservices_untrusted_test_server.crt` is then NOT copied under `res/raw` to use for
4testing localhost support on user-builds.
5
6```shell
7openssl req -new -x509 -nodes -sha1 -days 3650 \
8    -subj "/CN=AdServicesTests" \
9    -addext "subjectAltName=DNS:localhost,IP:127.0.0.1" \
10    -out /tmp/adservices_untrusted_test_server.crt \
11    -keyout /tmp/adservices_untrusted_test_server.key
12```
13
14Generate P12 with passcode: `adservices_test`
15```shell
16openssl pkcs12 -export -keypbe pbeWithSHA1And3-KeyTripleDES-CBC \
17-certpbe pbeWithSHA1And3-KeyTripleDES-CBC  -macalg sha1 \
18-in /tmp/adservices_untrusted_test_server.crt -inkey /tmp/adservices_untrusted_test_server.key \
19-out adservices_untrusted_test_server.p12
20```