CertPathValidatorException connecting to a Let's Encrypt host on Android M or earlier

后端 未结 5 1045
礼貌的吻别
礼貌的吻别 2020-12-31 04:42

[edit: If you are here for Let\'s Encrypt expiry event from January 2021, read this first https://letsencrypt.org/2020/12/21/extending-android-compatibility.html]

5条回答
  •  悲&欢浪女
    2020-12-31 05:32

    On Android Nougat (7) you can add/update android:networkSecurityConfig in AndroidManifest.xml to point to a local certificate.

    https://www.danieldent.com/blog/android-apps-lets-encrypt-dst-root-expiry/

    
        
            
                
                
                
            
        
    
    

提交回复
热议问题