Skip to content

Instantly share code, notes, and snippets.

@l3ender
l3ender / sqlserver-cert.groovy
Created October 6, 2021 22:21 — forked from MichaelNesterenko/sqlserver-cert.groovy
sql server certificate chain
package mn
import java.nio.ByteBuffer
import java.nio.channels.SocketChannel
import java.security.cert.Certificate
import java.security.cert.CertificateException
import java.security.cert.X509Certificate
import javax.net.ssl.SSLContext
import javax.net.ssl.SSLEngine