Skip to content

WAM

How to install icedtea-web with OpenJDK-8?

Java

sudo dnf update -y
sudo dnf install java-1.8.0-openjdk-devel -y
java -version

Find the Java Installation Path

sudo alternatives --config java

Set JAVA_HOME Environment Variable

/usr/lib/jvm/java-11-openjdk-11.0.16.1.1-1.el8_6.x86_64
vi ~/.bashrc
vi ~/.bash_profile
vi /etc/profile

export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-11.0.16.1.1-1.el8_6.x86_64
export PATH=$JAVA_HOME/bin:$PATH
Verify the Setup
echo $JAVA_HOME
java -version

IcedTea-Web

sudo dnf install epel-release -y
sudo dnf install icedtea-web -y
javaws -viewer
javaws /path/to/application.jnlp
javaws URL 

JVM Settiing

javaws -viewer

OpenSSL Certificate Authority

OpenSSL is a free and open-source cryptographic library that provides several command-line tools for handling digital certificates. Some of these tools can be used to act as a certificate authority.

A certificate authority (CA) is an entity that signs digital certificates. Many websites need to let their customers know that the connection is secure, so they pay an internationally trusted CA (eg, VeriSign, DigiCert) to sign a certificate for their domain.

In some cases it may make more sense to act as your own CA, rather than paying a CA like DigiCert. Common cases include securing an intranet website, or for issuing certificates to clients to allow them to authenticate to a server (eg, Apache, OpenVPN).

OpenSSL Certificate Authority

Rocky Linux yum update failed

 Curl error (28): Timeout was reached for https://mirrors.rockylinux.org/
[root@rocky ~]# yum update
Rocky Linux 9 - BaseOS                                                                                                                               0.0  B/s |   0  B     03:02
Errors during downloading metadata for repository 'baseos':
  - Curl error (28): Timeout was reached for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-9 [Failed to connect to mirrors.rockylinux.org port 443: Connection timed out]
Error: Failed to download metadata for repo 'baseos': Cannot prepare internal mirrorlist: Curl error (28): Timeout was reached for https://mirrors.rockylinux.org/mirrorlist?arch=x86_64&repo=BaseOS-9 [Failed to connect to mirrors.rockylinux.org port 443: Connection timed out]

Solution

  1. Stop the system firewall
`systemctl status firwalld