My Oracle Support Banner

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 AUGUST 30, 2023

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: xx] [ecid: <ECID>] 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: xx] [ecid: <ECID>] 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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.