mirror of
https://github.com/apache/activemq-artemis.git
synced 2025-02-23 10:52:56 +00:00
When using the OpenSSL provider on the broker the getPeerCertificates() method does *not* return a X509Certificate[] so we need to convert the Certificate[] that is returned. This code is inspired by Tomcat's org.apache.tomcat.util.net.jsse.JSSESupport class.