diff --git a/modules/https_proxy.go b/modules/https_proxy.go index 8240c6cb..1bd04406 100644 --- a/modules/https_proxy.go +++ b/modules/https_proxy.go @@ -32,12 +32,12 @@ func NewHttpsProxy(s *session.Session) *HttpsProxy { "Port to bind the HTTPS proxy to.")) p.AddParam(session.NewStringParameter("https.proxy.certificate", - "~/.bcap-https.proxy-ca.certificate.pem", + "~/.bettercap-ca.cert.pem", "", "HTTPS proxy certification authority TLS certificate file.")) p.AddParam(session.NewStringParameter("https.proxy.key", - "~/.bcap-https.proxy-ca.key.pem", + "~/.bettercap-ca.key.pem", "", "HTTPS proxy certification authority TLS key file.")) diff --git a/tls/cert.go b/tls/cert.go index cda2c127..3561751d 100644 --- a/tls/cert.go +++ b/tls/cert.go @@ -41,9 +41,11 @@ func Generate(certPath string, keyPath string) error { template := x509.Certificate{ SerialNumber: serialNumber, Subject: pkix.Name{ - CommonName: "www.cisco.com", - Organization: []string{"Cisco Systems, Inc."}, - OrganizationalUnit: []string{"Cisco Systems, Inc."}, + Country: []string{"US"}, + Locality: []string{"Scottsdale"}, + Organization: []string{"GoDaddy.com, Inc."}, + OrganizationalUnit: []string{"http://certs.godaddy.com/repository/"}, + CommonName: "Go Daddy Secure Certificate Authority - G2", }, NotBefore: notBefore, NotAfter: notAfter,