Android Question HttpJob Poststring to HTTPS

AHilberink

Active Member
Licensed User
Longtime User
Hi,

I need to do a poststring to a HTTPS url. Is this possible and how do I have to implementate this?

Now I get a Status Failed.

Best regards,
André
 

AHilberink

Active Member
Licensed User
Longtime User
You don't need to do anything special. Just use a https url.


Can you post the full error message from the logs.

Hi Erel,

I checked the error message within the log. It seems a difficulty with the hostname:
javax.net.ssl.SSLException: hostname in certificate didn't match: <webapp.domainA.com> != <*.domainB.com> OR <*.domainB.com> OR <domainB.com>

Is it possible that the connection is made by java with the mainserver and not through the webserver to the specific domain?

Because of domain-addresses I didn't send the full log.

Best regards,
André
 
Upvote 0

AHilberink

Active Member
Licensed User
Longtime User
Hi,

I found the solution. It appears to be SNI support. Switching to OkHTTP library solved the problem.

Thanks all.

Best regards,
André
 
Upvote 0
Top