You can avoid above error by simply accepting all SSL using DesiredCapabilities
DesiredCapabilities capabilities = new DesiredCapabilities();
WebDriver driver = new InternetExplorerDriver(capabilities);
In case of above code does not work, you can even try clicking on
Continue to this Website (not recommended)
You can try below code:
Hope that answered!