First locate the
catalina.sh file, and create a backup copy.
Next open
catalina.sh in a text editor, and search for the option you want to change. If you are able to find it, then modify the existing option. If not, then add a new line just before line 326. For example, the following will restrict Tomcat to using only TLSv1.3:
JAVA_OPTS="$JAVA_OPTS -Dhttps.protocols=TLSv1.3"
Save the
catalina.sh file, and restart the Tomcat service by running the
shutdown.sh script, followed by the
startup.sh script.