Category : ssl-certificate

To communicate with back from my android app I use network-security-config.xml, which looks like <network-security-config> <base-config> <trust-anchors> <certificates src="@raw/my_ca"/> <certificates src="system"/> </trust-anchors> </base-config> </network-security-config> where is my_ca – certificate (.pem file) On API < 24 it’s not working, how to solve this? Source: Android..

Read more

I’m finishing my first app(s) and now I’m dealing with things like Google Ads, Premium and, most recently, certificates. I have 2 different apps that connect to the same server, and one of the apps runs well with a self-signed certificate, but the other one gives an error, which made me stop everything I was ..

Read more

Summary: How to create socket to a server with wildcard certificate when we get "The certificate of the peer does not match the expected hostname" error? Basically, I want to create a secure websocket (wss) to a server with wildcard certificate. I’m using this websocket library. Now when I want to connect to the website ..

Read more

I am trying to implement the Coinbase API with my android application. I am doing a test request like this: val sendMoneyRequest = SendMoneyRequest("[email protected]", "0.10", "ADA") sendMoneyRequest.description = "Thanks for the coffee!" val coinbase = CoinbaseBuilder.withClientIdAndSecret(this, clientKey, clientSecret).build() coinbase.transactionsResource.sendMoney(clientKey, null, sendMoneyRequest).enqueue(object : Callback<CoinbaseResponse<Transaction>> { override fun onSuccess(result: CoinbaseResponse<Transaction>) { print(result) } override fun onFailure(throwable: Throwable) ..

Read more

when i’m opening android studio, show me this dialog: and after accepting that, it’s show again after few seconds, i try automatic accepting, but android studio don’t care about this , i read other topics before creating new topic, like: Android Studio: Server's certificate is not trusted Why is "Server's certificate is not trusted" is ..

Read more

The company I work for provides customers with not only client apps, but also the server app. So our customers have their own servers. We can’t force them to install certificate issued by trusted CA. Though we have self-signed root certificate, and supply our servers with certificates related to this root. In android app I ..

Read more

What are the technical requirements for a TLS certificate on Android 7+? I didn’t found an official source for this, only this recommendation: As of 2012, a 2048-bit RSA signature with an exponent of 65537 expiring yearly is acceptable. When rotating keys, you should check for recommendations from an authority (such as NIST) about what ..

Read more