JSign Errors and Solutions
net.jsign.timestamp.TimestampingException: Unable to complete the timestamping after 3 attempts
Error
Message
Error: net.jsign.timestamp.TimestampingException: Unable to complete the timestamping after 3 attemptsProblem
This issue occurs when Jsign is unable to connect to the timestamp server. The Jsign library allows a maximum of 3 attempts to reach the server and receive a response.
Additionally, if the user has configured a proxy for their node, the proxy details must be included in the Jsign command.
Solution
If the proxy has not been configured and the timestamp server is unreachable ,
the user can configure any other timestamp of their choice in the
command.
java -jar /home/suryanarayan.bhaskar/SIGN+_Files/Jsign_Files/Signing\ tools/jsign-6.0.jar --keystore "/home/suryanarayan.bhaskar/AppViewX Sign+/AVXPKCS11V1.cfg" --storetype PKCS11 --storepass 12345678 --alias "AppViewXCertificate's AppViewX Intermediate CA" --alg "SHA-256" --tsaurl <tsaURL> <input file>If
the user has configured the proxy in their node then the
command:java -jar /home/suryanarayan.bhaskar/SIGN+_Files/Jsign_Files/Signing\ tools/jsign-6.0.jar --keystore "/home/suryanarayan.bhaskar/AppViewX Sign+/AVXPKCS11V1.cfg" --storetype PKCS11 --storepass 12345678 --alias "AppViewXCertificate's AppViewX Intermediate CA" -J-Dhttp.proxyHost=<Host> -J-Dhttp.proxyPort=<Port> -J-Dhttp.proxyUser=<Username> -J-Dhttp.proxyPassword=<Password> --alg "SHA-256" --tsaurl <tsaURL> <input file>Where
the user has to provide the hostname, port number, username and password for the
proxy configured.