X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-vnc-server.git/blobdiff_plain/5ffa1fd52ea7de17d60e338d9cb8faeaef68840a..refs/heads/precise-prod:/debian/invirt-vnc-server.postinst?ds=inline diff --git a/debian/invirt-vnc-server.postinst b/debian/invirt-vnc-server.postinst index 48e8245..f1919ae 100755 --- a/debian/invirt-vnc-server.postinst +++ b/debian/invirt-vnc-server.postinst @@ -26,7 +26,7 @@ case "$1" in fi if ! [ -e /etc/invirt/vnc/server.crt ]; then - openssl req -new -x509 -nodes -sha1 -subj "/CN=$(hostname -f)" -key /etc/invirt/vnc/server.pem \ + openssl req -new -x509 -nodes -sha1 -days 730 -subj "/CN=$(hostname -f)" -key /etc/invirt/vnc/server.pem \ > /etc/invirt/vnc/server.crt fi