canonical / ubuntu-desktop-hyper-v

Ubuntu Desktop Hyper-V Quick Create Gallery
17 stars 1 forks source link

ssl-cert package is somewhat broken in the vhdx image #8

Open volo-zyko opened 4 years ago

volo-zyko commented 4 years ago

This is the closest project to the problem I've found. Submitting here I hope to find a way to the right issue tracker.

So, ssl-cert packages is installed in this image but files /etc/ssl/private/ssl-cert-snakeoil.key and /etc/ssl/certs/ssl-cert-snakeoil.pem which should be installed with the above package are missing. It could be that those files got removed after ssl-cert package is installed. The latter definitely makes sense, self-signed certificates should not be distributed with a shared image. However, the other software may need those files and probably during VM setup (at the first boot) /usr/sbin/make-ssl-cert generate-default-snakeoil should be run.