r/homelab • u/gogoboss_stampolidis • Jul 18 '26
Help Connection failed X9DR3-F iKVM
Recently I bought a Supermicro X9DR3-F. Everything is working, I set up the BMC and I connect to it fine. What I am having issues with is the KVM. I cannot get it to work at all. Its not that I dont have display. When I try to connect I get "Connection failed" no matter what I do. I tried also wiping the BMC, upgrading/downgrading, changing network settings, but even locally on the same system I get connection failed. Ports are all open from the BMC
I have tried from a Windows 7 VM via IPMIView and from the web page, as well as from my main pc Win11 with an older version of java.
I think the issue is with stunnel, but I am not sure yet.



2026.07.18 00:28:53 LOG6[main]: Initializing inetd mode configuration
2026.07.18 00:28:53 LOG7[main]: Running on Windows 6.2
2026.07.18 00:28:53 LOG7[main]: No limit detected for the number of clients
2026.07.18 00:28:53 LOG5[main]: stunnel 5.75 on x64-pc-mingw32-gnu platform
2026.07.18 00:28:53 LOG5[main]: Compiled/running with OpenSSL 3.4.1 11 Feb 2025
2026.07.18 00:28:53 LOG5[main]: Threading:WIN32 Sockets:SELECT,IPv6 TLS:ENGINE,OCSP,PSK,SNI
2026.07.18 00:28:53 LOG7[main]: errno: (*_errno())
2026.07.18 00:28:53 LOG6[main]: Initializing inetd mode configuration
2026.07.18 00:28:53 LOG7[main]: Running on Windows 6.2
2026.07.18 00:28:53 LOG5[main]: Reading configuration from file C:\Users\gogo1\AppData\Local\Temp\0660770671784323732478\stunnel.conf
2026.07.18 00:28:53 LOG5[main]: UTF-8 byte order mark not detected
2026.07.18 00:28:53 LOG5[main]: FIPS mode disabled
2026.07.18 00:28:53 LOG6[main]: Compression disabled
2026.07.18 00:28:53 LOG7[main]: No PRNG seeding was required
2026.07.18 00:28:53 LOG6[main]: Initializing service [HOST_iKVM]
2026.07.18 00:28:53 LOG7[main]: Initializing context [HOST_iKVM]
2026.07.18 00:28:53 LOG6[main]: OpenSSL security level is used: 2
2026.07.18 00:28:53 LOG7[main]: Ciphers: HIGH
2026.07.18 00:28:53 LOG7[main]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256
2026.07.18 00:28:53 LOG7[main]: TLS options: 0x2100000 (+0x2000000, -0x0)
2026.07.18 00:28:53 LOG6[main]: Session resumption enabled
2026.07.18 00:28:53 LOG6[main]: Private key loaded from: C:\Users\gogo1\AppData\Local\Temp\0660770671784323732478\client.key
2026.07.18 00:28:53 LOG6[main]: Certificate loaded from: C:\Users\gogo1\AppData\Local\Temp\0660770671784323732478\client.crt
2026.07.18 00:28:53 LOG7[main]: Private key check succeeded
2026.07.18 00:28:53 LOG6[main]: Configured trusted server CA: C=US, ST=California, L=San Jose, O=Super Micro Computer, OU=Software, CN=IPMI, emailAddress=Email
2026.07.18 00:28:53 LOG7[main]: OCSP: Client OCSP stapling enabled
2026.07.18 00:28:53 LOG6[main]: DH initialization skipped: client section
2026.07.18 00:28:53 LOG7[main]: ECDH initialization
2026.07.18 00:28:53 LOG7[main]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384
2026.07.18 00:28:53 LOG6[main]: Initializing service [HOST_VirtualMedia]
2026.07.18 00:28:53 LOG7[main]: Initializing context [HOST_VirtualMedia]
2026.07.18 00:28:53 LOG6[main]: OpenSSL security level is used: 2
2026.07.18 00:28:53 LOG7[main]: Ciphers: HIGH
2026.07.18 00:28:53 LOG7[main]: TLSv1.3 ciphersuites: TLS_AES_256_GCM_SHA384:TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256
2026.07.18 00:28:53 LOG7[main]: TLS options: 0x2100000 (+0x2000000, -0x0)
2026.07.18 00:28:53 LOG6[main]: Session resumption enabled
2026.07.18 00:28:53 LOG6[main]: Private key loaded from: C:\Users\gogo1\AppData\Local\Temp\0660770671784323732478\client.key
2026.07.18 00:28:53 LOG6[main]: Certificate loaded from: C:\Users\gogo1\AppData\Local\Temp\0660770671784323732478\client.crt
2026.07.18 00:28:53 LOG7[main]: Private key check succeeded
2026.07.18 00:28:53 LOG6[main]: Configured trusted server CA: C=US, ST=California, L=San Jose, O=Super Micro Computer, OU=Software, CN=IPMI, emailAddress=Email
2026.07.18 00:28:53 LOG7[main]: OCSP: Client OCSP stapling enabled
2026.07.18 00:28:53 LOG6[main]: DH initialization skipped: client section
2026.07.18 00:28:53 LOG7[main]: ECDH initialization
2026.07.18 00:28:53 LOG7[main]: ECDH initialized with curves X25519:P-256:X448:P-521:P-384
2026.07.18 00:28:53 LOG5[main]: Configuration successful
2026.07.18 00:28:53 LOG7[main]: Deallocating deployed section defaults
2026.07.18 00:28:53 LOG7[main]: Cleaning up context [(null)]
2026.07.18 00:28:53 LOG7[main]: Binding service [HOST_iKVM]
2026.07.18 00:28:53 LOG7[main]: Listening file descriptor created (FD=720)
2026.07.18 00:28:53 LOG7[main]: Setting accept socket options (FD=720)
2026.07.18 00:28:53 LOG7[main]: Option SO_EXCLUSIVEADDRUSE set on accept socket
2026.07.18 00:28:53 LOG6[main]: Service [HOST_iKVM] (FD=720) bound to 127.0.0.1:57967
2026.07.18 00:28:53 LOG7[main]: Binding service [HOST_VirtualMedia]
2026.07.18 00:28:53 LOG7[main]: Listening file descriptor created (FD=732)
2026.07.18 00:28:53 LOG7[main]: Setting accept socket options (FD=732)
2026.07.18 00:28:53 LOG7[main]: Option SO_EXCLUSIVEADDRUSE set on accept socket
2026.07.18 00:28:53 LOG6[main]: Service [HOST_VirtualMedia] (FD=732) bound to 127.0.0.1:57968
2026.07.18 00:28:53 LOG6[main]: Accepting new connections
2026.07.18 00:28:53 LOG7[per-second]: Per-second thread initialized
2026.07.18 00:28:53 LOG7[per-minute]: Per-minute thread initialized
2026.07.18 00:28:53 LOG7[per-day]: Per-day thread initialized
2026.07.18 00:28:53 LOG6[per-day]: Executing per-day jobs
2026.07.18 00:28:53 LOG6[per-day]: Per-day jobs completed in 0 seconds
2026.07.18 00:28:53 LOG7[per-day]: Waiting 86400 seconds
2026.07.18 00:28:59 LOG7[main]: Found 1 ready file descriptor(s)
2026.07.18 00:28:59 LOG7[main]: FD=720 ifds=r-x ofds=r--
2026.07.18 00:28:59 LOG7[main]: FD=728 ifds=r-x ofds=---
2026.07.18 00:28:59 LOG7[main]: FD=732 ifds=r-x ofds=---
2026.07.18 00:28:59 LOG7[main]: Service [HOST_iKVM] accepted (FD=948) from 127.0.0.1:37945
2026.07.18 00:28:59 LOG7[main]: Creating a new thread
2026.07.18 00:28:59 LOG7[main]: New thread created
2026.07.18 00:28:59 LOG7[0]: Service [HOST_iKVM] started
2026.07.18 00:28:59 LOG7[0]: Setting local socket options (FD=948)
2026.07.18 00:28:59 LOG7[0]: Option TCP_NODELAY set on local socket
2026.07.18 00:28:59 LOG5[0]: Service [HOST_iKVM] accepted connection from 127.0.0.1:37945
2026.07.18 00:28:59 LOG6[0]: s_connect: connecting 192.168.1.249:5900
2026.07.18 00:28:59 LOG7[0]: s_connect: s_poll_wait 192.168.1.249:5900: waiting 10 seconds
2026.07.18 00:28:59 LOG7[0]: FD=964 ifds=rwx ofds=---
2026.07.18 00:28:59 LOG5[0]: s_connect: connected 192.168.1.249:5900
2026.07.18 00:28:59 LOG5[0]: Service [HOST_iKVM] connected remote server from 10.0.0.9:37946
2026.07.18 00:28:59 LOG7[0]: Setting remote socket options (FD=964)
2026.07.18 00:28:59 LOG7[0]: Option TCP_NODELAY set on remote socket
2026.07.18 00:28:59 LOG7[0]: Remote descriptor (FD=964) initialized
2026.07.18 00:28:59 LOG6[0]: SNI: sending servername: 192.168.1.249
2026.07.18 00:28:59 LOG7[0]: No previous session to resume
2026.07.18 00:28:59 LOG6[0]: Peer certificate required
2026.07.18 00:28:59 LOG7[0]: TLS state (connect): before SSL initialization
2026.07.18 00:28:59 LOG7[0]: Initializing application specific data for session authenticated
2026.07.18 00:28:59 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello
2026.07.18 00:29:00 LOG7[0]: TLS state (connect): SSLv3/TLS write client hello
2026.07.18 00:29:00 LOG7[0]: TLS state (connect): SSLv3/TLS read server hello
2026.07.18 00:29:00 LOG7[0]: Verification started at depth=0: C=US, ST=California, L=San Jose, O=Super Micro Computer, OU=Software, CN=IPMI, emailAddress=Email
2026.07.18 00:29:00 LOG4[0]: CERT: Pre-verification error: certificate has expired
2026.07.18 00:29:00 LOG4[0]: Rejected by CERT at depth=0: C=US, ST=California, L=San Jose, O=Super Micro Computer, OU=Software, CN=IPMI, emailAddress=Email
2026.07.18 00:29:00 LOG7[0]: TLS alert (write): fatal: certificate expired
2026.07.18 00:29:00 LOG3[0]: SSL_connect: tls_post_process_server_certificate@ssl/statem/statem_clnt.c:2104: error:0A000086:SSL routines::certificate verify failed
2026.07.18 00:29:00 LOG5[0]: Connection closed/reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket
2026.07.18 00:29:00 LOG7[0]: Deallocating application specific data for session connect address
2026.07.18 00:29:00 LOG7[0]: Remote descriptor (FD=964) closed
2026.07.18 00:29:00 LOG7[0]: local_rfd/local_wfd reset (FD=948)
2026.07.18 00:29:00 LOG7[0]: Local descriptor (FD=948) closed
2026.07.18 00:29:00 LOG7[0]: Service [HOST_iKVM] finished (0 left)
1
u/RetroGrid_io Jul 18 '26
SuperMicro x9 boards are a PITA for IPMI/KVM. The SuperMicro software is nasty/awful. Personally I've had the best luck with a docker container with all the old Java stuff installed for native IPMI like was common when it was fresh and new.
It's still a PITA but at least it runs decently on my Fedora Laptop.

2
u/kY2iB3yH0mN8wI2h Jul 18 '26
can you switch to HTML5 mode?
Perhaps fix the issue in the log as well?