Skip to content

TLS init failing on set_tls_parms #3468

@NAs3c

Description

@NAs3c

Hi everyone,

I am trying to setup beef with TLS, and modified config.yaml as follows :

        public:
            host: "xxx.yyy.zzz" # public hostname/IP address
            port: "443" # public port (443 if the public server is using HTTPS)
            https: true # true/false
...
        https:
            enable: true
            # In production environments, be sure to use a valid certificate signed for the value
            # used in beef.http.public (the domain name of the server where you run BeEF)
            key: "privkey.pem"
            cert: "fullchain.pem"

privkey.pem and fullchain.pem is a valid Let's Encrypt certificate. The framework initialises then when I try to connect to any endpoint, it fails with the following error :

Image

The ruby stacktrace is as follow :

Image

Any idea what is going on ?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions