Skip to content
This repository has been archived by the owner on Jun 4, 2023. It is now read-only.

Commit

Permalink
doc: add a word about ignore TLS errors on Android
Browse files Browse the repository at this point in the history
This doesn't work anymore. Complete procedure is available here:
 http://wiki.pcprobleemloos.nl/android/cacert
  • Loading branch information
vincentbernat committed Nov 7, 2016
1 parent 97c7ec5 commit f59b500
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/android.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,10 @@ Server certificates
~~~~~~~~~~~~~~~~~~~

Another interesting setting is the ability to **ignore SSL
errors**. This can be useful if you need to access a lot of
self-signed pages. However, if you have an internal root certificate,
errors**. Most of the time, it just won't work. You'll get "*Request
was denied*" error message instaed.

However, if you have an internal root certificate,
it is better to add it to the Android system. This can be done in the
preferences: *Security* → *Credential Storage* → *Install from
storage*. Unfortunately, this enforces the use of a lock screen which
Expand All @@ -140,7 +142,7 @@ certificate::
Then, copy the certificate as this name in ``/system/etc/security/cacerts/``::

$ adb push ca-cert.pem /sdcard/a199d90b.0
$ adb shell su -c "cp /sdcard/a199d90b.0 /system/etc/security/cacerts/"
$ adb shell su -c "cp /sdcard/a199d90b.0 /system/etc/security/cacerts/ ; chmod 644 /system/etc/security/cacerts/a199d90b.0"

Then, reboot your device.

Expand Down

0 comments on commit f59b500

Please sign in to comment.