LengthTag too big error in pdm_tomcat logs

Document ID : KB000122868
Last Modified Date : 13/12/2018
Show Technical Document Details
After I have enabled SSL in my Tomcat's server.xml, the following error is seen, and the SSL port does not work:

org.apache.coyote.AbstractProtocol init SEVERE: Failed to initialize end point associated with ProtocolHandler ["https-jsse-nio-8443"] java.lang.IllegalArgumentException: java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big.
This error is caused by including the attribute "keystoreType=PKCS12" in the SSL details of the server.xml file when the keystore's type is not actually a PKCS12 format.
Remove the attribute, "keystoreType=PKCS12", save the file and restart the Tomcat services.