Questions tagged [hostname-verifier]
12 questions
3
votes
0 answers
How to write a custom SSL Hostname verifier for Dart/Flutter HttpClient
I have multiple devices each exposing an HTTPS server with a X509 certificate signed by my own CA. The clients call these servers by IP in the local network, but the IP is not known in advance, so the certs do not include the IP, but they have a…

Jose Troche
- 31
- 3
2
votes
1 answer
Unsafe implementation of the HostnameVerifier interface - Android
Reason for app rejection on Play Store:
Your app(s) are using an unsafe implementation of the HostnameVerifier interface. You can find more information about how to resolve the issue in this Google Help Center article.
Hello All,
I'm getting a…

MashukKhan
- 1,946
- 1
- 27
- 46
1
vote
2 answers
What is the best way to link my own hardware with my application on a LAN network?
I have hardware based on a microcontroller with Ethernet communication.
There is a TCP server in the microcontroller.
To configure the hardware, I have an application made in C# for android.
The application, in turn, has a TCP client.
For the app to…

Plc Worker
- 101
- 7
1
vote
2 answers
What is the most efficient way to verify multiple email hostnames in a pandas dataframe
I have a pandas data frame, which has a column of the hostname of each email address (over 1000 rows):
email hostname
email@example.com example.com
email2@example.com example.com
email@example2.com example2.com
email@example3.com …

Erelephant
- 111
- 9
0
votes
0 answers
HostnameVerifier/okHttp does not recognize or honor custom Hostname header
I am working on an IoT (internet of things) application and need make API calls to a base station. According to the device documentation, when validating hostname the app needs to check that the common name on the server certificate matches the base…

Synth
- 21
- 1
- 4
0
votes
1 answer
java apache httpclient 4.5.13 SSLPeerUnverifiedException: Certificate for doesn't match any of the subject alternative names:[]
I have changed my SSLConnectionSocketFactory to take DefaultHostNameVerifier instead of NoopHostNameVerifier.
final SSLConnectionSocketFactory sslConnectionSocketFactory = new SSLConnectionSocketFactory(sslContext, new String[] { "TLSv1.2" }, null,…

Erez Scholz
- 1
- 3
0
votes
0 answers
JavaFX WebView HTTP2Loader set custom HostnameVerifier
As described in this answer, when trying to accept self-signed certificates with the JavaFX WebView, the HTTP2Loader ignores method calls like
HttpsURLConnection.setDefaultSSLSocketFactory()
HttpsURLConnection.setDefaultHostnameVerifier()
While…
0
votes
0 answers
"java.security.cert.CertPathValidatorException: Trust anchor for certification path not found" while SSL is valid
I made an app where you can login and do some things. The problem is in the login: when it send a request to my API, it throws an error: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found. Android 2.3 but…

mrBee74
- 1
0
votes
1 answer
Certificate hostname verification
I want to verify the hostname of a given certificate (X509Certificate object). That is, to check whether the hostname matches any of the hostnames listed in the certificate's "Subject Alternative Name" or "Common Name" field.
I read online that you…

Ido
- 397
- 2
- 7
- 22
0
votes
1 answer
Custom Implementation of Trust Manager and Hostname Verifier
I am making post request to a third party service setting the hostname verifier and trust manager. The default pass all implementation however doesn't pass sonarcloud checks and gives errors which are attached in screenshots below. Have browsed for…

Vedant Dixit
- 140
- 2
- 11
0
votes
1 answer
Twilio REST-API Allow hostname verifier issue
I'm trying to create a group room using Twilio REST API, but i am facing a crash:
Process: com.example.twilioroom, PID: 25401
java.lang.NoSuchFieldError: No static field INSTANCE of type Lorg/apache/http/conn/ssl/AllowAllHostnameVerifier; in…

Jerry
- 3
- 2
-1
votes
0 answers
Why Are Two Different Hostnames Appearing in My Logstash Logs?
I've noticed something peculiar in my log server setup, and I'm hoping to understand why it's happening. When I receive logs from a specific client machine, I see two different hostnames in the logs in logserver machine:
syslog_hostname:…

Ts Ts
- 1
- 1