My understanding is that jarsigner is packaged with OpenJDK, which I've installed by running
sudo amazon-linux-extras install java-openjdk11
Now I have a bunch of synlinks to the jdk, like so:
$ ll /etc/alternatives/jre*
lrwxrwxrwx 1 root root 60 Feb 16 01:00 /etc/alternatives/jre -> /usr/lib/jvm/java-11-openjdk-11.0.13.0.8-1.amzn2.0.3.aarch64
lrwxrwxrwx 1 root root 60 Feb 16 01:00 /etc/alternatives/jre_11 -> /usr/lib/jvm/java-11-openjdk-11.0.13.0.8-1.amzn2.0.3.aarch64
lrwxrwxrwx 1 root root 59 Feb 16 01:00 /etc/alternatives/jre_11_openjdk -> /usr/lib/jvm/jre-11-openjdk-11.0.13.0.8-1.amzn2.0.3.aarch64
lrwxrwxrwx 1 root root 60 Feb 16 01:00 /etc/alternatives/jre_openjdk -> /usr/lib/jvm/java-11-openjdk-11.0.13.0.8-1.amzn2.0.3.aarch64
However, I don't have jarsigner in the bin directory:
$ ll /etc/alternatives/jre/bin
total 656
-rwxr-xr-x 1 root root 71368 Dec 17 12:16 alt-java
-rwxr-xr-x 1 root root 71360 Dec 17 12:16 java
-rwxr-xr-x 1 root root 71392 Dec 17 12:16 jjs
-rwxr-xr-x 1 root root 71384 Dec 17 12:16 keytool
-rwxr-xr-x 1 root root 71384 Dec 17 12:16 pack200
-rwxr-xr-x 1 root root 71376 Dec 17 12:16 rmid
-rwxr-xr-x 1 root root 71384 Dec 17 12:16 rmiregistry
-rwxr-xr-x 1 root root 152440 Dec 17 12:16 unpack200
What else do I need to do to install this binary?