Skip to content

Commit 426dd46

Browse files
committed
Added in a warning to use certificate adjustment ONLY in staging servers
and not in production.
1 parent 7c61840 commit 426dd46

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/java/org/broadinstitute/macarthurlab/matchbox/network/CertificateAdjustment.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/**
2+
* IMPORTANT NOTE: TO BE ONLY USED WITH TRUSTED STAGING SERVERS AND NOT IN PRODUCTION
23
* Adjusting for certificate issues
3-
* - This was needed for GeneMatcher node certificate issues
4+
*
45
* This feature is only needed for connecting to staging servers with
56
* self signed certificates. Production systems will not need this
67
*/
@@ -16,7 +17,8 @@
1617
import javax.net.ssl.*;
1718

1819
/**
19-
* A {@link X509TrustManager} and {@link HostnameVerifier} which trust everything.
20+
* IMPORTANT NOTE: TO BE ONLY USED WITH TRUSTED STAGING SERVERS AND NOT IN PRODUCTION
21+
* Thank you to Torleif Berger who was listed as author from where this was borrowed from as license allows
2022
*
2123
* @author Torleif Berger
2224
* @license http://creativecommons.org/licenses/by/3.0/

0 commit comments

Comments
 (0)