Connect Tunnel unable to connect from Linux Mint OS Ver-19.
09/01/2022 9 People found this article helpful 332,378 Views
Description
Connect Tunnel Log snippets
2022-08-16 15:46:36:454 DEBUG SwingWorker-pool-2-thread-1 - ApplianceTypeChecker - Detection failure. Exit code <-1>
2022-08-16 15:46:36:491 DEBUG AWT-EventQueue-0 - ApplianceTypeChecker - onWorkerFinish(https://210.x.x.x): RESULT_UNREACHABLE
2022-08-16 15:46:36:662 ERROR AWT-EventQueue-0 - ConnectionFragment - '210.x.x.x' is either currently unreachable or is not a valid SonicWall appliance.
2022-08-16 15:46:42:044 DEBUG AWT-EventQueue-0 - ConnectionFragment - stopSession: unknown appliance type
2022-08-16 15:46:42:045 INFO AWT-EventQueue-0 - ConnectionFragment - Disconnected
2022-08-16 15:46:51:250 INFO AWT-EventQueue-0 - ConnectionFragment - Detecting appliance…
2022-08-16 15:46:51:264 DEBUG SwingWorker-pool-2-thread-2 - ApplianceTypeChecker - detectAppliance("210.x.x.x")
2022-08-16 15:46:51:265 DEBUG SwingWorker-pool-2-thread-2 - ProxyHandler - detectProxy() ...
2022-08-16 15:46:51:265 DEBUG SwingWorker-pool-2-thread-2 - ProxyHandler - detectLinuxProxy() ...
2022-08-16 15:46:51:266 ERROR SwingWorker-pool-2-thread-2 - ProxyHandler - java.io.FileNotFoundException: /home/xcrp-it/.sonicwall/AventailConnect/config/.AvConnect.pcfg (No such file or directory)
2022-08-16 15:46:51:266 DEBUG SwingWorker-pool-2-thread-2 - ProxyHandler - detectProxy out proxy [null]
2022-08-16 15:46:51:266 DEBUG SwingWorker-pool-2-thread-2 - ApplianceTypeChecker - Using Proxy: DIRECT
2022-08-16 15:46:51:296 INFO SwingWorker-pool-2-thread-2 - AvSSLSocketFactory - Establishing SSL connection to 210.x.x.x autoClose:true
2022-08-16 15:46:51:298 DEBUG SwingWorker-pool-2-thread-2 - AvSSLSocketFactory - configureSocket
2022-08-16 15:46:51:335 DEBUG SwingWorker-pool-2-thread-2 - com.sonicwall.nixconnect.util.AvX509TrustManager - checkServerTrusted() chain<[Ljava.security.cert.X509Certificate;@2cd843f8> authType<ECDHE_RSA> socket<5a52a9b7[SSL_NULL_WITH_NULL_NULL: Socket[addr=/210.x.x.x,port=443,localport=38084]]>
javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
Cause
Connect Tunnel is unable to connect from Linux Mint OS Ver-19; when the user tries to connect Tunnel on Linux Mint OS, it displays Java errors in the logs.
Resolution
Refer to this link to fix Java issues : https://stackoverflow.com/questions/6784463/error-trustanchors-parameter-must-be-non-empty
Follow the instructions from the 2nd comment in the provided article to resolve the issue.
Pasting the resolution from the article for reference:
# 0. First make yourself root with 'sudo bash'.
# 1. Save an empty JKS file with the default 'changeit' password for Java cacerts.
# Use 'printf' instead of 'echo' for Dockerfile RUN compatibility.
/usr/bin/printf '\xfe\xed\xfe\xed\x00\x00\x00\x02\x00\x00\x00\x00\xe2\x68\x6e\x45\xfb\x43\xdf\xa4\xd9\x92\xdd\x41\xce\xb6\xb2\x1c\x63\x30\xd7\x92' > /etc/ssl/certs/java/cacerts #
2. Re-add all the CA certs into the previously empty file.
/var/lib/dpkg/info/ca-certificates-java.postinst configure
Related Articles
Categories
Was This Article Helpful?
YESNO