@Override
                        public void checkServerTrusted(X509Certificate[] chain, String authType) {
                            actualKeyName.set(chain[0].getSubjectX500Principal().getName());
                        }
Makes sure the specified certificate is selected.
spring/boot3-webflux-autoconfigure/src/test/java/com/linecorp/armeria/spring/web/reactive/AbstractReactiveWebServerCustomKeyAliasTest.java