Skip to content

missing a option to add keyfile from user specified location #19

@jobarasoined

Description

@jobarasoined

Hello Neff,
I recently stumbled on You awesome tool
However when i used it i got an error on the "context.load_cert_chain" line 145 at wsuks.py

Image

throws an error when the cert supplied has a private key

Image

this cert has a key which the user has to add the script manually to add

Image

If you would like i would add an option called --tls-cert-key and set the default value to None and pass the option to load_cert_chain() to become
context.load_cert_chain(certfile=self.args.tlsCert, keyfile=self.args.tslCertKey) and make a pull request
that way if the cert has a key the user can supplied it and if don't the program continue as it used to be

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions