From 319b6059a5e97e3568603728617ef3740c99b73a Mon Sep 17 00:00:00 2001 From: evilsocket Date: Mon, 17 Sep 2018 11:23:49 +0200 Subject: [PATCH] fix: api.rest is now on http and port 8081 by default --- modules/api_rest.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/api_rest.go b/modules/api_rest.go index de78de32..ca8e0a92 100644 --- a/modules/api_rest.go +++ b/modules/api_rest.go @@ -45,7 +45,7 @@ func NewRestAPI(s *session.Session) *RestAPI { "Address to bind the API REST server to.")) api.AddParam(session.NewIntParameter("api.rest.port", - "8083", + "8081", "Port to bind the API REST server to.")) api.AddParam(session.NewStringParameter("api.rest.username", @@ -59,14 +59,14 @@ func NewRestAPI(s *session.Session) *RestAPI { "API authentication password.")) api.AddParam(session.NewStringParameter("api.rest.certificate", - "~/.bcap-api.rest.certificate.pem", + "", "", "API TLS certificate.")) tls.CertConfigToModule("api.rest", &api.SessionModule, tls.DefaultLegitConfig) api.AddParam(session.NewStringParameter("api.rest.key", - "~/.bcap-api.rest.key.pem", + "", "", "API TLS key"))