Skip to content

Commit 524693d

Browse files
committed
Update certificate store to only contain necessary certificates
1 parent 49a6e2a commit 524693d

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed

src/main/java/co/bugg/quickplay/http/HttpRequestFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public void addStatisticsParameters(HashMap<String, String> params) {
190190
*/
191191
private SSLContext createSslContext() throws KeyStoreException, IOException, CertificateException, NoSuchAlgorithmException, KeyManagementException {
192192
final KeyStore ks = KeyStore.getInstance("JKS");
193-
try(final InputStream is = this.getClass().getClassLoader().getResourceAsStream("certs/cacerts.jks")) {
193+
try(final InputStream is = this.getClass().getClassLoader().getResourceAsStream("certs/letsencrypt-ca")) {
194194
if(is == null) {
195195
throw new IOException("CA certificates keystore not found");
196196
}
-112 KB
Binary file not shown.
1.97 KB
Binary file not shown.

0 commit comments

Comments
 (0)