mirror of
https://github.com/correl/mage.git
synced 2024-11-14 19:19:32 +00:00
Temporary fix for expired Java certificate (#9266)
This commit is contained in:
parent
7233061ae3
commit
95a0cb5ca8
2 changed files with 3 additions and 0 deletions
|
@ -67,6 +67,7 @@ import javax.swing.event.PopupMenuListener;
|
|||
import java.awt.*;
|
||||
import java.awt.event.*;
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.net.SocketException;
|
||||
|
@ -191,6 +192,8 @@ public class MageFrame extends javax.swing.JFrame implements MageClient {
|
|||
* Creates new form MageFrame
|
||||
*/
|
||||
public MageFrame() throws MageException {
|
||||
System.setProperty("javax.net.ssl.trustStore", System.getProperty("user.dir") + "/src/main/resources/cacerts".replace('/', File.separatorChar));
|
||||
System.setProperty("javax.net.ssl.trustStorePassword","changeit");
|
||||
setWindowTitle();
|
||||
|
||||
EDTExceptionHandler.registerExceptionHandler();
|
||||
|
|
BIN
Mage.Client/src/main/resources/cacerts
Normal file
BIN
Mage.Client/src/main/resources/cacerts
Normal file
Binary file not shown.
Loading…
Reference in a new issue