This repository was archived by the owner on Apr 10, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/main/java/com/csviri/jenvtest Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 22
22
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
23
23
hs_err_pid *
24
24
.idea
25
- * .iml
25
+ * .iml
26
+
27
+ target
Original file line number Diff line number Diff line change @@ -52,8 +52,7 @@ public void createCertificatesIfNeeded() {
52
52
}
53
53
}
54
54
55
- // todo generate only if not exists?
56
- private void generateAPIServerCertificates () throws IOException , InterruptedException {
55
+ private void generateAPIServerCertificates () {
57
56
var cert = new File (jenvtestDir , API_SERVER_CERT_NAME );
58
57
var key = new File (jenvtestDir , API_SERVER_KEY_NAME );
59
58
if (cert .exists () && key .exists ()) {
@@ -72,7 +71,7 @@ private GeneralName dns(String dns) {
72
71
return new GeneralName (GeneralName .dNSName , dns );
73
72
}
74
73
75
- private void generateUserCertificates () throws IOException , InterruptedException {
74
+ private void generateUserCertificates () {
76
75
var cert = new File (jenvtestDir , CLIENT_CERT_NAME );
77
76
var key = new File (jenvtestDir , CLIENT_KEY_NAME );
78
77
if (cert .exists () && key .exists ()) {
You can’t perform that action at this time.
0 commit comments