diff --git a/main.go b/main.go index d50ad47f93cc3e120c4cae323fed82aeeff0fb98..37b1a21489d9689409459c7dc792eccc4c2a1039 100644 --- a/main.go +++ b/main.go @@ -32,7 +32,7 @@ func init() { func renderPage(w http.ResponseWriter, req *http.Request) { provider := strings.Split(req.URL.Path, "/") serveFile := filepath.Join(webDir, req.URL.Path) - cmd := exec.Command("/usr/bin/cert2json.sh", provider[1]) + cmd := exec.Command("/root/bin/cert2json.py", "-p", provider[1]) err := cmd.Run() if err != nil { WarningLogger.Println(err)