Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

miniweb: Add TLS key decryption #1434

Open
aherna opened this issue Dec 15, 2020 · 0 comments
Open

miniweb: Add TLS key decryption #1434

aherna opened this issue Dec 15, 2020 · 0 comments

Comments

@aherna
Copy link
Contributor

aherna commented Dec 15, 2020

Describe your environment

  1. minimega version - all
  2. Linux distro/version -any
  3. Go compiler version - 1.12.17
  4. VM types - N/A

Describe the bug
Feature request allow user to specify ecnrypted TLS certificates, ie generate TLS certs that have passphrases. Currently miniweb supports only TLS certs with no passphrases.
To Reproduce
Steps to reproduce the behavior:
New default behavior on miniweb document
openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365

This errors out because new standard is to add passphrase to the key
Current work around openssl req -nodes -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365

if you do add a passphrase miniweb errors saying it cant decipher key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant