Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Email certificates expiring on iOS causing a constant pop up every 3 seconds

Email certificates expiring on iOS causing a constant pop up every 3 seconds

Scheduled Pinned Locked Moved Solved Support
mailcertificates
11 Posts 4 Posters 2.5k Views 4 Watching
  • 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.
  • P privsec

    On an iPhone 6s and iPhone 6s Plus, when using imap and smtp, me and my users are getting inncessant pop ups and warning that the certificate for my servers imap and smtp server is not verified and They don’t stop after selecting trust. After the 3rd time selecting trust the pop up occurs the pop up happens, but the option to select trust is no longer available. I can add screenshots to this later.

    murgeroM Offline
    murgeroM Offline
    murgero
    App Dev
    wrote on last edited by murgero
    #2

    @privsec iphone 6s? Is the certificate saying expired on the iPhone?

    If the date on the certificate is good it could be because the phones are too old and the CA certs installed on the devices in question have expired instead. In which case there is no fix except accepting the certs as self-signed. (CA = Certificate Authority. Essentially it's a certificate that tells your phone the cert(s) you have installed on your server are legitimate.)

    https://support.apple.com/en-us/HT204477#:~:text=If you want to turn,Mobile Device Management (MDM).

    Link may help

    --
    https://urgero.org
    ~ Professional Nerd. Freelance Programmer. ~

    P 1 Reply Last reply
    0
    • murgeroM murgero

      @privsec iphone 6s? Is the certificate saying expired on the iPhone?

      If the date on the certificate is good it could be because the phones are too old and the CA certs installed on the devices in question have expired instead. In which case there is no fix except accepting the certs as self-signed. (CA = Certificate Authority. Essentially it's a certificate that tells your phone the cert(s) you have installed on your server are legitimate.)

      https://support.apple.com/en-us/HT204477#:~:text=If you want to turn,Mobile Device Management (MDM).

      Link may help

      P Offline
      P Offline
      privsec
      wrote on last edited by
      #3

      @murgero Both phones are on both 14.4 iOS

      P 1 Reply Last reply
      0
      • P privsec

        @murgero Both phones are on both 14.4 iOS

        P Offline
        P Offline
        privsec
        wrote on last edited by
        #4

        Here are all of the screenshots

        c1d3170b-bb47-4a15-a5b4-7ae95cbf88d0-image.png

        f6f58e4a-ef2f-49ca-a092-b2407e3a415a-image.png

        1c97eda0-6b3d-42fe-8faf-a797fb63f1ee-image.png

        bf2e4505-7ef2-4e02-afec-c52c16752a69-image.png

        5c285f6d-7ab1-40a6-ad09-4af1756cc156-image.png

        96e868a8-b085-4b49-86ea-9995a7ab8b64-image.png

        girishG 1 Reply Last reply
        0
        • marcusquinnM Offline
          marcusquinnM Offline
          marcusquinn
          wrote on last edited by
          #5

          I had this once. Solved by removing the account and re-adding.

          Web Design https://www.evergreen.je
          Development https://brandlight.org
          Life https://marcusquinn.com

          1 Reply Last reply
          1
          • P privsec

            Here are all of the screenshots

            c1d3170b-bb47-4a15-a5b4-7ae95cbf88d0-image.png

            f6f58e4a-ef2f-49ca-a092-b2407e3a415a-image.png

            1c97eda0-6b3d-42fe-8faf-a797fb63f1ee-image.png

            bf2e4505-7ef2-4e02-afec-c52c16752a69-image.png

            5c285f6d-7ab1-40a6-ad09-4af1756cc156-image.png

            96e868a8-b085-4b49-86ea-9995a7ab8b64-image.png

            girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #6

            @privsec The imap and smtp address seems wrong. It should just be mail.yourdomain.com. I assume you change the mail server location to mail.yourdomain.com in the Email settings page? In your screenshots, it shows imap.mail.yourdomain.com and smtp.mail.yourdomain.com, whic is not correct.

            P 1 Reply Last reply
            1
            • girishG girish

              @privsec The imap and smtp address seems wrong. It should just be mail.yourdomain.com. I assume you change the mail server location to mail.yourdomain.com in the Email settings page? In your screenshots, it shows imap.mail.yourdomain.com and smtp.mail.yourdomain.com, whic is not correct.

              P Offline
              P Offline
              privsec
              wrote on last edited by
              #7

              @girish Here is whats weird, In the connection settings I see d4b87828-2186-46f4-858b-76f403038d10-image.png

              I set the email app to use the mail. subdomain

              girishG 1 Reply Last reply
              0
              • P privsec

                @girish Here is whats weird, In the connection settings I see d4b87828-2186-46f4-858b-76f403038d10-image.png

                I set the email app to use the mail. subdomain

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #8

                @privsec That's indeed a bug. If you refresh the browser, it will show the correct connection details. I will get this fixed for next release.

                P 1 Reply Last reply
                1
                • girishG girish

                  @privsec That's indeed a bug. If you refresh the browser, it will show the correct connection details. I will get this fixed for next release.

                  P Offline
                  P Offline
                  privsec
                  wrote on last edited by
                  #9

                  @girish I dont see it changing on a refresh.

                  But to be clear what is the address I should be using?

                  girishG 1 Reply Last reply
                  0
                  • P privsec

                    @girish I dont see it changing on a refresh.

                    But to be clear what is the address I should be using?

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #10

                    @privsec So, the address you should be using is my.domain.com (as displayed in the screenshot you posted). If you want to change this to mail.domain.com , you can change it in the UI below under Settings. Click on the edit button on the right of the Mail server location and set it to mail instead of my:

                    e1deb6cc-dee1-4188-9b4e-da1b023b3ce6-image.png

                    It's important that the mail server location matches what you enter in the iOS client. If they don't match, they will complain that the domain name in the certificate does not match.

                    Finally, the bug (which I thought is what you hit) is that if you change the mail server location above and then go to the connection details for other clients, then it still shows the old mail server location. This is a UI bug which I have fixed now.

                    P 1 Reply Last reply
                    2
                    • girishG girish

                      @privsec So, the address you should be using is my.domain.com (as displayed in the screenshot you posted). If you want to change this to mail.domain.com , you can change it in the UI below under Settings. Click on the edit button on the right of the Mail server location and set it to mail instead of my:

                      e1deb6cc-dee1-4188-9b4e-da1b023b3ce6-image.png

                      It's important that the mail server location matches what you enter in the iOS client. If they don't match, they will complain that the domain name in the certificate does not match.

                      Finally, the bug (which I thought is what you hit) is that if you change the mail server location above and then go to the connection details for other clients, then it still shows the old mail server location. This is a UI bug which I have fixed now.

                      P Offline
                      P Offline
                      privsec
                      wrote on last edited by
                      #11

                      @girish Gotchya, ok. Makes sense, thank you

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search