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,