Gemalto is now part of the Thales Group, find out more.

You are here

HTTPS: How to ignore certificate warnings? | Thales IoT Developer Community

February 14, 2017 - 5:26pm, 5851 views

Hello!

I have to access a HTTPS site with Java+EHS5T via it's IP, not the host name. During transmission a "java.io.IOException: Subject alternative name did not match site name" exception occurs.

Questions:

1) Is there a way to ignore certificate warnings, and transmit data anyway?

2) Is there something like a "hosts" file on the EHS5T, where one can override DNS resolution? Maybe by writing some special settings in the .jad file?