java.security.KeyStoreException: Cannot store non-PrivateKeys

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • db:: 3.59::Store secrect key in java keystore am
    via by Unknown author,
  • db:: 4.20::Error loading key aliases from keystore a9
    via by Unknown author,
    • java.security.KeyStoreException: Cannot store non-PrivateKeys at sun.security.provider.JavaKeyStore.engineSetKeyEntry(JavaKeyStore.java:250) at sun.security.provider.JavaKeyStore$JKS.engineSetKeyEntry(JavaKeyStore.java:55) at java.security.KeyStore.setKeyEntry(KeyStore.java:909) at tigase.io.SSLContextContainer.addCertificateEntry(SSLContextContainer.java:199) at tigase.io.SSLContextContainer.init(SSLContextContainer.java:421) at tigase.io.TLSUtil.configureSSLContext(TLSUtil.java:89) at tigase.conf.ConfiguratorAbstract.setProperties(ConfiguratorAbstract.java:815) at tigase.conf.ConfiguratorAbstract.setup(ConfiguratorAbstract.java:550) at tigase.conf.ConfiguratorAbstract.componentAdded(ConfiguratorAbstract.java:182) at tigase.conf.Configurator.componentAdded(Configurator.java:50) at tigase.conf.Configurator.componentAdded(Configurator.java:33) at tigase.server.AbstractComponentRegistrator.addComponent(AbstractComponentRegistrator.java:115) at tigase.server.MessageRouter.addRegistrator(MessageRouter.java:141) at tigase.server.MessageRouter.setConfig(MessageRouter.java:696) at tigase.server.XMPPServer.start(XMPPServer.java:142)

    Users with the same issue

    Alireza Mohamadi
    Alireza Mohamadi3 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,