镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Installed root certificate is not listed in "Certificate Trust Settings" due to iOS bug #47

Closed

Description

@ceoimon
No description provided.

Activity

  1. FiloSottile commented on Jul 12, 2018

    @FiloSottile
    Owner

    I'm not sure I understand the issue, can you provide some more details?

  2. ceoimon commented on Jul 13, 2018

    @ceoimon
    Author

    I'm trying to use the certificate on my iPhone (running iOS 11.4).

    After I installed the certificate(rootCA.pem), it is not showing up in the (Settings > General > About > Certificate Trust Settings) and therefore I can't follow the Enable full trust for root certificates instruction.

    I am also able to reproduce the issue on an iPhone simulator:

    simulator screen shot - iphone x - 2018-07-13 at 10 29 38
    simulator screen shot - iphone x - 2018-07-13 at 10 29 58
    simulator screen shot - iphone x - 2018-07-13 at 10 30 07

  3. changed the title [-][iOS] Installed root CA is not listed in Certificate Trust Settings panel?[/-] [+][iOS] Installed root certificate is not listed in "Certificate Trust Settings" panel?[/+] on Jul 13, 2018
  4. J132134 commented on Jul 13, 2018

    @J132134

    I have the same problem, too

  5. tomodian commented on Jul 27, 2018

    @tomodian

    having the same issue.

  6. FiloSottile commented on Jul 29, 2018

    @FiloSottile
    Owner

    🤬 https://forums.developer.apple.com/thread/89568

    It's a bug in iOS, I'll work around it. Should manage to pull off reissuing the same CA without having to remake all certificates.

  7. added
    bugSomething isn't working
    and removed
    questionThis is a user question
    on Jul 29, 2018
  8. changed the title [-][iOS] Installed root certificate is not listed in "Certificate Trust Settings" panel?[/-] [+]Installed root certificate is not listed in "Certificate Trust Settings" due to iOS bug[/+] on Jul 29, 2018
  9. FiloSottile commented on Jul 29, 2018

    @FiloSottile
    Owner

    Nope, fixing this will require reissuing the roots. I had an idea to misuse AuthorityKeyID (https://twitter.com/FiloSottile/status/1023564776834826240) but turns out we don't add one to our roots =(

  10. FiloSottile commented on Jul 30, 2018

    @FiloSottile
    Owner

    This should be fixed in the upcoming v1.0.1 version.

    If you have already used mkcert, you need to update it, and then regenerate the root.

    mkcert -uninstall
    rm -r "$(mkcert -CAROOT)"
    

    Skip the -uninstall step if you want existing certificates to keep working.

  11. added a commit that references this issue on Jul 30, 2018
  12. shri3k commented on Feb 8, 2019

    @shri3k

    Hey @ceoimon did you ever get this working? I've tried updating mkcert as mentioned by @FiloSottile but I still don't see it in "Certificate Trust Settings".
    Installed rootCA.pem on both Emulator and real device and don't see it in "Certificate Trust Settings" on either of them. I'm not sure what I'm doing wrong.

  13. FiloSottile commented on Feb 8, 2019

    @FiloSottile
    Owner

    Did you delete the root and regenerated it?

  14. shri3k commented on Feb 8, 2019

    @shri3k

    I think this command essentially does that if I'm not mistaken.

    rm -r "$(mkcert -CAROOT)"

    I did however went and ran mkcert -uninstall too just for good measure.
    I'm scratching my head and wanted to see if others got it working too. This is in iPhone XS Max (iOS 12.1) Emulator if it helps at all.

    Also, one small request. Would it be possible to have mkcert display the current version it's running? I think I have the right binary in my GOPATH for mkcert. I checked the src and it had the latest commit from master branch but was unable to tell which version of binary I was running apart from checking the "modified date" of the binary.

    I love the simplicity of this tool if I haven't mentioned that already. 😃

  15. Epho commented on Jan 3, 2020

    @Epho

    Anyone else still having issues? I just installed the latest mkcert and am unable to see the cert in "Certificate Trust Settings". I tried uninstalling, deleting the root, and regenerating, for good measure, but no dice.

    IMG_4EF636D49D4C-1

  16. FiloSottile commented on Jan 3, 2020

    @FiloSottile
    Owner

    @Epho Please open a new issue and we'll look into it!

  17. added a commit that references this issue on Jul 23, 2024
    676d4cd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions