From 2a2ec4ad4d9abaa7f58467d61476a4be8332c64a Mon Sep 17 00:00:00 2001 From: Matthew R Date: Fri, 25 Dec 2020 21:40:32 -0500 Subject: [PATCH] allow access --- routes/get.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/get.go b/routes/get.go index 20114d8..47564c1 100644 --- a/routes/get.go +++ b/routes/get.go @@ -159,7 +159,7 @@ func GetCertificateInformationEncoded(c *gin.Context) { // GetCertificateInfo handler func GetCertificateInfo(c *gin.Context) { query := c.Query("q") - resp, err := tls.Dial("tcp", query+":443", &tls.Config{}) + resp, err := tls.Dial("tcp", query+":443", &tls.Config{InsecureSkipVerify: true, PreferServerCipherSuites: true}) if err != nil { c.JSON(http.StatusBadRequest, gin.H{ "status": false,