Jitsi desktop doesn't support 4096 keys

The current download for Windows form Download | Jitsi does not support 4096 bit DH keys. It generates the following error:

2022-01-12 08:50:09.363 INFORMATION: [451] plugin.simpleaccreg.SimpleAccountRegistrationActivator.init().196 SIMPLE ACCOUNT REGISTRATION ...[STARTED]
2022-01-12 08:50:09.393 SCHWERWIEGEND: [803] org.jivesoftware.smack.PacketReader.notifyConnectionError() Closes the connection temporary
javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1949)
	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1906)
	at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1889)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1410)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
	at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:444)
	at org.jivesoftware.smack.XMPPConnection.access$200(XMPPConnection.java:56)
	at org.jivesoftware.smack.XMPPConnection$TCPXmppPacketReader.doParsePackets(XMPPConnection.java:702)
	at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:247)
	at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:46)
	at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:86)
Caused by: java.lang.RuntimeException: Could not generate DH keypair
	at sun.security.ssl.DHCrypt.<init>(DHCrypt.java:142)
	at sun.security.ssl.DHCrypt.<init>(DHCrypt.java:114)
	at sun.security.ssl.ClientHandshaker.serverKeyExchange(ClientHandshaker.java:711)
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:268)
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1026)
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:961)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
	... 7 more
Caused by: java.security.InvalidAlgorithmParameterException: DH key size must be multiple of 64, and can only range from 512 to 2048 (inclusive). The specific key size 4096 is not supported
	at com.sun.crypto.provider.DHKeyPairGenerator.initialize(DHKeyPairGenerator.java:128)
	at java.security.KeyPairGenerator$Delegate.initialize(KeyPairGenerator.java:674)
	at sun.security.ssl.DHCrypt.<init>(DHCrypt.java:128)
	... 15 more

It seems that the packaged Java library of the download should be updated.
Is there a workaround?