Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    android devices not working with Root CA

    Scheduled Pinned Locked Moved Cache/Proxy
    9 Posts 3 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 4
      4o4rh
      last edited by

      I got Squid and Squidguard working in either caching or filtering mode.

      i've installed the root certificate on both linux and windows clients and they all work like a charm.

      I installed the Root CA on a number of Android devices via the settings, security tab, but neither firefox or chrome seem to use it.

      In other words, i can't use any android devices on my network when config required a CA.

      kiokomanK dragoangelD 2 Replies Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8 @4o4rh
        last edited by

        Use the native Android Browser.
        There are also workaround if you search with google
        Like putting the crt to a web server and load it on firefox.
        It's not a pfsense problem anyway

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        1 Reply Last reply Reply Quote 0
        • dragoangelD
          dragoangel @4o4rh
          last edited by dragoangel

          @gwaitsi many most android apps have not trust users CA (and even use certificate pining inside), so forget about it, unfortunately. Or you will end with not working internet for Android.
          P.s. google chrome is trust user installed CA. And Firefox use "own" trust store so it must be installed from firefox additionaly.
          My recommendation is to use separated SSID and vlan for mobile phones and not do MITM there and Limit by firewall all not needed ports.

          Latest stable pfSense on 2x XG-7100 and 1x Intel Xeon Server, running mutiWAN, he.net IPv6, pfBlockerNG-devel, HAProxy-devel, Syslog-ng, Zabbix-agent, OpenVPN, IPsec site-to-site, DNS-over-TLS...
          Unifi AP-AC-LR with EAP RADIUS, US-24

          4 1 Reply Last reply Reply Quote 0
          • 4
            4o4rh @dragoangel
            last edited by

            @dragoangel yeh, just discovered that chrome was working but haven't figured out how to add to firefox for android yet.
            recommendation is not an option, as the whole reason for this exercise is to make kid safe ;-)

            dragoangelD 1 Reply Last reply Reply Quote 0
            • dragoangelD
              dragoangel @4o4rh
              last edited by dragoangel

              @gwaitsi simply open crt file with your CA in firefox browser and it will propose to you install it

              Latest stable pfSense on 2x XG-7100 and 1x Intel Xeon Server, running mutiWAN, he.net IPv6, pfBlockerNG-devel, HAProxy-devel, Syslog-ng, Zabbix-agent, OpenVPN, IPsec site-to-site, DNS-over-TLS...
              Unifi AP-AC-LR with EAP RADIUS, US-24

              4 1 Reply Last reply Reply Quote 0
              • 4
                4o4rh @dragoangel
                last edited by

                @dragoangel how? there is no file open in firefox, and if i go to file manager and try open with, it only offers archive

                dragoangelD 1 Reply Last reply Reply Quote 0
                • dragoangelD
                  dragoangel @4o4rh
                  last edited by

                  @gwaitsi you need host in somewhere over http as file

                  Latest stable pfSense on 2x XG-7100 and 1x Intel Xeon Server, running mutiWAN, he.net IPv6, pfBlockerNG-devel, HAProxy-devel, Syslog-ng, Zabbix-agent, OpenVPN, IPsec site-to-site, DNS-over-TLS...
                  Unifi AP-AC-LR with EAP RADIUS, US-24

                  4 1 Reply Last reply Reply Quote 0
                  • 4
                    4o4rh @dragoangel
                    last edited by 4o4rh

                    @dragoangel set it up to serve from the wpad server.
                    on linux, firefox downloads the file and recognizes it is a crt.

                    On Android, it downloads the file on opens the cert installer, but fails.
                    if you go into the downloads folder of firefox, and click on the file it says "extraction error" please check the files

                    if i goto the Downloads directory, i can see the 2 firefox downloaded ones, and the one i manually copied. clicking on the firefox downloaded one, opens the installer and it installs. so the issues seems within firefox.

                    • From the firefox certificate installer, "couldn't install because the certificate file couldn't be read"

                    • added to the mime.types
                      application/x-x509-user-cert crt;
                      Now i get the "this personal certificate can't be installed because you do not own the corresponding private key which was create when the certificate was requested"

                    sure is a lot of d.cking around to get firefox to work. easier to scrap it and just use google, except i have an aversion to anything from them

                    dragoangelD 1 Reply Last reply Reply Quote 0
                    • dragoangelD
                      dragoangel @4o4rh
                      last edited by dragoangel

                      @gwaitsi Unfortunately I doesn't know, something wrong maybe with you CA. I done this before without any issue. It must process with success by cert install. No download needed. Can you try create new CA over Cert Manager and try again?

                      Latest stable pfSense on 2x XG-7100 and 1x Intel Xeon Server, running mutiWAN, he.net IPv6, pfBlockerNG-devel, HAProxy-devel, Syslog-ng, Zabbix-agent, OpenVPN, IPsec site-to-site, DNS-over-TLS...
                      Unifi AP-AC-LR with EAP RADIUS, US-24

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.