mirror of
https://github.com/bettercap/bettercap
synced 2025-07-06 04:52:10 -07:00
fix: api.rest and https.server certificates are now correctly generated with IsCA to false
This commit is contained in:
parent
070708c307
commit
8257d25ff3
23 changed files with 8876 additions and 14 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue