allow access
parent
487fb65841
commit
2a2ec4ad4d
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue