OVD11g: Uploading New Certificate to OVD Instances Fails with console~ovd1~1.log Error: org.xml.sax.SAXParseException: <Line 1, Column 1>: XML-20108: (Fatal Error) Start of root element expected. (Doc ID 2111818.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Virtual Directory - Version 11.1.1.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to upload new certificates to OVD instances the following error occurs,

Observed errors in console~ovd1~1.log:

14/01/17 07:24:09 Start process
--------
Exception in thread "main" java.lang.RuntimeException: Error parsing XML file.
at com.octetstring.vde.config.ConfigHandler.getInstance(ConfigHandler.java:172)
at com.octetstring.vde.VDEServer.main(VDEServer.java:341)
Caused by: org.xml.sax.SAXParseException: : XML-20108: (Fatal Error) Start of root element expected.


The diagnostic logs may show:

[2016-02-18T16:23:00.106-06:00] [octetstring] [NOTIFICATION] [OVD-60053] [com.octetstring.vde.ConnectionHandler] [tid: 16] [ecid: 0000LBqSPO9AxGDpr84EyY1Ml^7Z000006,0] Error accepting connection from server socket: Remote host closed connection during handshake.[[
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake

And/Or:

[2016-02-18T17:15:12.463-06:00] [octetstring] [NOTIFICATION] [OVD-60053] [com.octetstring.vde.ConnectionHandler] [tid: 30] [ecid: 0000LBqX4cJAxGDpr84EyY1Ml^7Z00000W,0] Error accepting connection from server socket: Received fatal alert: certificate_unknown.[[
javax.net.ssl.SSLHandshakeException: Received fatal alert: certificate_unknown


The issue can be reproduced at will with the following steps:
1. Generate a new CSR and get it signed.
2. Try to upload the new certificate to OVD instances.
2. OVD instances do not accept the new certificates and result in the above errors.



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms