For information on the supported Java versions, see Prerequisites.

Install Java

Install one of the following:

Depending on your setup, refer to information from your OS/Linux distribution or Java provider for instructions on how to install Java.

For example, to install OpenJDK in CentOS 7, run something like the following:

sudo yum install java-11-openjdk

For RHEL 8, AlmaLinux for example, run something like the following

sudo dnf install java-11-openjdk

Unlimited Policy Files

Note that if using Oracle Java, you must enable the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for JDK to allow SignServer to use strong cryptography algorithms. As of Java 8 Update 151, the unlimited jurisdiction policy files are included but not used by default.

To enable the unlimited policy files, do the following:

  1. Open the JRE_HOME/lib/security/java.security file for editing.

  2. Uncomment the following line:

    crypto.policy=unlimited

Install Apache Ant

Either use the Apache Ant provided in your Linux distribution or download from Apache Ant on ant.apache.org.

For example, to install Apache Ant in CentOS 7, run something like the following:

sudo yum install ant

For RHEL 8, AlmaLinux:

sudo dnf install ant