Imported Certificates into glassfish 4.1 and get security error when accessing the page



Here are the names of the certificates files i have, converted the .pem to .der.

As separate actions I have used keytool to import fullchain1. (pen and der ) into cacerts.jks and keystore.jks in ~/glassfish4/glassfish/domain//config

I also set the https protocol settings-nickname to the alias of the certificate set when adding it to the .jks file.

and when i try and access the page i get the following error in firefox.

Secure Connection Failed

The connection to mypage:8181 was interrupted while the page was loading."

If i set the https protocol settings-nickname back to the default “s1as” then the message returns to the untrusted one on accessing the page.

So , can you help.



try this script, it got me closer to goal (ssl works, only can’t get into administration) Importing LetsEncrypt into Java and Glassfish


None of those files is meant to be imported as a root CA. fullchain.pem does contain something that might work, but it also contains your end-entity cert, so it’s easy to imagine import scripts getting confused (because of the two different certs in one file).

If you want to import the current Let’s Encrypt intermediate as a root into a root store, you might instead try