Switch back to the terminal app that we first set the screen. For example, switch from Gnome Terminal to LXTerminal.
Find out which TERM is supported: ls /usr/share/terminfo/x
this will give you a list of supported TERMs i.e. xterm
set the environment variable: export TERM=xterm-xfree86
and run screen: TERMINFO='/usr/share/terminfo/' screen
From certificate authority, you should generally receive two files Your signed certificate : generally named as “yourdomain.com.crt” Root certificate of your certificate (you might receive more than one. In some cases certification authority sends the intermediate certificates) : Godaddy names it “gd_bundle-g2-g1.crt”
keytool -importkeystore -srckeystore /your-former-used-for-request/keystore.jks -destkeystore $GLASSFISHHOME/domains/yourdomain/config/keystore.jks Now, the final step done on keystore is importing the signed certificate. First, we gotta switch to Glassfish’s keystore and import the root certificate:
cd $GLASSFISH_HOME/domains/yourdomain/config keytool -import -v -trustcacerts -alias root -file gd_bundle-g2-g1.crt -keystore keystore.jks -keypass changeit -storepass changeit Then, import the signed certificate of yours: