For information on the supported Java versions, see Prerequisites.
Install one of the following:
- OpenJDK (recommended) according to information on openjdk.java.net.
- Oracle Java according to information on java.com. See Unlimited Policy Files.
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-1.8.0-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:
file for editing.
Uncomment the following line:
Oracle Java prior to Java 8 Update 151 does not include the policy files and requires you to download and install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction policy files. See Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files for JDK.
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