Importing PEM files into JCEKS keystore


Everything works fine on my server using Apache and the website I am trying to import the files into the JCEKS keystore that Kaazing uses to accept wss connections

My domain is:

I ran this command:
keytool -importcert -keystore /path/to/keystore -storetype JCEKS -alias -file /path/to/fullchain.pem -trustcacerts

It produced this output:
When I start up my Kaazing websocket server it always fails with error : Keystore does not have a certificate entry for

My web server is (include version):

The operating system my web server runs on is (include version):
fedora +26

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):
yes, the server is right in my office

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

certbot 0.31.0


The problem is probably in the format used.

Where it shows that keystores use der encoding (not pem).