Bug 1261133 - RFE: support encrypted TLS keys for SPICE
Summary: RFE: support encrypted TLS keys for SPICE
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: libvirt
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: pre-dev-freeze
: ---
Assignee: Virtualization Maintenance
QA Contact: yafu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-08 16:42 UTC by Daniel Berrangé
Modified: 2020-11-12 16:58 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-12 16:58:22 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2015-09-08 16:42:36 UTC
Description of problem:
Libvirt supports TLS, but currently requires that the TLS private kley .pem file is stored unencrypted. Libvirt needs to be able to load encrypted keys, with a mechanism for running a helper to decrypt them.

This blog posts gives an example of how apache deals with it, whcih would work for libvirt too

http://blog-ftweedal.rhcloud.com/2015/09/automatic-decryption-of-tls-private-keys-with-deo/

We also need to figure out how to deal with the same problem for QEMU, which also uses TLS for VNC (and soon, migration, nbd too). In this case prompting the user for keys is not really acceptable, so libvirt might have to pass across a decryption key to QEMU

Version-Release number of selected component (if applicable):
libvirt-1.2.19

Comment 4 Peter Krempa 2020-11-10 13:39:10 UTC
Encrypted TLS keys are now supported for migration, VNC, chardevs and disk. The only missing bit is for the Spice protocol.

Comment 5 Jaroslav Suchanek 2020-11-12 16:58:22 UTC
This bug was closed deferred as a result of bug triage.

Please reopen if you disagree and provide justification why this bug should
get enough priority. Most important would be information about impact on
customer or layered product. Please indicate requested target release.


Note You need to log in before you can comment on or make changes to this bug.