Dealing with self-signed ssl certificates is a real pain, because it’s not that simple to add them in your app and let android accept them. But fortunately, there’s a workaround that uses an own SSLSocketFactory and an own TrustManager. With this, only your added site is beeing able to be called, so theres no security issue. First you have to create the SSLFactory: /* * Licensed to the Apache Soft
![Android and self-signed ssl certificates](https://cdn-ak-scissors.b.st-hatena.com/image/square/f695984fe6acc2a7f9a905ad6b3c25dcee1c7c7b/height=288;version=1;width=512/https%3A%2F%2Fsynyx.de%2Fwp-content%2Fuploads%2F2022%2F05%2Fpreview_blog.png)