Skip to content

Commit 1cd33ab

Browse files
committed
fix issue with root x509 certificate import process
1 parent fa446b7 commit 1cd33ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/password/pwm/util/secure/X509Utils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ public void checkServerTrusted( final X509Certificate[] chain, final String auth
260260
{
261261
final List<X509Certificate> asList = Arrays.asList( chain );
262262
certificates.addAll( JavaHelper.enumArrayContainsValue( readCertificateFlags, ReadCertificateFlag.ReadOnlyRootCA )
263-
? identifyRootCACertificate( certificates )
263+
? identifyRootCACertificate( asList )
264264
: asList );
265265
wrappedTrustManager.checkServerTrusted( chain, authType );
266266
}

0 commit comments

Comments
 (0)