Android Studio: Server's certificate is not trusted

后端 未结 8 889
天命终不由人
天命终不由人 2021-02-03 19:28

Is it safe to ignore this warning? It shows up when I create a new project in Android Studio:

Server\'s certificate is not trusted

Certificate details

Issued T         


        
8条回答
  •  生来不讨喜
    2021-02-03 19:49

    Android Studio has a configuration for Server Certificates (This works for other IntelliJ platforms like PyCharm as well)

    Go to File->Settings. In the IDE Settings section select Server Certificates

    Myself I just selected the Accept Automatically check box, hit Apply and never had to deal with it. If you are worried about security, there is also the option to add them 1 at a time as they come up.

    In my case I did this because I already had a *.google.com certificate configured as accepted, but I still got the popup. I suspect that the fingerprint changed and if I would have deleted and then accepted the error would have gone away, but I decided to just make it go away by selecting the check box.

提交回复
热议问题