allow access

merge-requests/1/head
Matthew 2020-12-25 21:40:32 -05:00
parent 487fb65841
commit 2a2ec4ad4d
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ func GetCertificateInformationEncoded(c *gin.Context) {
// GetCertificateInfo handler // GetCertificateInfo handler
func GetCertificateInfo(c *gin.Context) { func GetCertificateInfo(c *gin.Context) {
query := c.Query("q") 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 { if err != nil {
c.JSON(http.StatusBadRequest, gin.H{ c.JSON(http.StatusBadRequest, gin.H{
"status": false, "status": false,