Could not parse certificate: java.io.IOException: Empty input java.base/sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:110) java.base/java.security.cert.CertificateFactory.generateCertificate(CertificateFactory.java:355) jdk.deploy.controlpanel.fx@9-ea/com.sun.deploy.jcp.controller.Certificates.importCertificate(Certificates.java:400) jdk.deploy.controlpanel.fx@9-ea/com.sun.deploy.jcp.controller.Certificates.onImport(Certificates.java:270) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:537) sun.reflect.misc.Trampoline.invoke(MethodUtil.java:72) jdk.internal.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) java.base/java.lang.reflect.Method.invoke(Method.java:537) java.base/sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:261) javafx.fxml/javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1777) javafx.fxml/javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1665) javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) javafx.base/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49) javafx.base/javafx.event.Event.fireEvent(Event.java:198) javafx.graphics/javafx.scene.Node.fireEvent(Node.java:8708) javafx.controls/javafx.scene.control.Button.fire(Button.java:200) javafx.controls/com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(ButtonBehavior.java:206) javafx.controls/com.sun.javafx.scene.control.inputmap.InputMap.handle(InputMap.java:274) javafx.base/com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218) javafx.base/com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80) javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238) javafx.base/com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) javafx.base/com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) javafx.base/com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) javafx.base/com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) javafx.base/com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) javafx.base/com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) javafx.base/javafx.event.Event.fireEvent(Event.java:198) javafx.graphics/javafx.scene.Scene$MouseHandler.process(Scene.java:3870) javafx.graphics/javafx.scene.Scene$MouseHandler.access$1300(Scene.java:3598) javafx.graphics/javafx.scene.Scene.processMouseEvent(Scene.java:1868) javafx.graphics/javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2607) javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:397) javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295) java.base/java.security.AccessController.doPrivileged(Native Method) javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:434) javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389) javafx.graphics/com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:433) javafx.graphics/com.sun.glass.ui.View.handleMouseEvent(View.java:556) javafx.graphics/com.sun.glass.ui.View.notifyMouse(View.java:938) javafx.graphics/com.sun.glass.ui.mac.MacView.notifyMouse(MacView.java:127)