fix: api.rest and https.server certificates are now correctly generated with IsCA to false

This commit is contained in:
evilsocket 2019-04-21 19:55:53 +02:00
parent 070708c307
commit 8257d25ff3
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
23 changed files with 8876 additions and 14 deletions

View file

@ -145,7 +145,7 @@ func (mod *HttpsProxy) Configure() error {
mod.Debug("%+v", cfg)
mod.Info("generating proxy certification authority TLS key to %s", keyFile)
mod.Info("generating proxy certification authority TLS certificate to %s", certFile)
if err := tls.Generate(cfg, certFile, keyFile); err != nil {
if err := tls.Generate(cfg, certFile, keyFile, true); err != nil {
return err
}
} else {