unable to generate pve certificate

blue

New Member
Sep 24, 2014
16
0
1
HI,

I try to install proxmox on Debian Wheezy following the wiki http://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Wheezy

The installation is complete but I don't understand why I can't generate the pve certificates :mad:

When I tried to generate the certifiicate I got the following message :

# pvecm updatecerts
unable to generate pve www key:
command 'openssl genrsa -out /etc/pve/pve-www.key 2048' failed: open3: exec of openssl genrsa -out /etc/pve/pve-www.key 2048 failed at /usr/share/perl5/PVE/Tools.pm line 307

Here my conf :

#uname -a
Linux proxmox-6-177.proxmox.com 2.6.32-26-pve #1 SMP Mon Oct 14 08:22:20 CEST 2013 x86_64 GNU/Linux


# pveversion -v
proxmox-ve-2.6.32: 3.1-114 (running kernel: 2.6.32-26-pve)
pve-manager: 3.1-21 (running version: 3.1-21/93bf03d4)
pve-kernel-2.6.32-26-pve: 2.6.32-114
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.0-2
pve-cluster: 3.0-8
qemu-server: 3.1-8
pve-firmware: 1.0-23
libpve-common-perl: 3.0-8
libpve-access-control: 3.0-7
libpve-storage-perl: 3.0-17
pve-libspice-server1: 0.12.4-2
vncterm: 1.1-4
vzctl: 4.0-1pve4
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.4-17
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.1-1


I tryed to execute the command to generate certificate on my own but it fail when I try to generete pve-ssl.pem
Does anyone have any ideas pls?:(:(
 
# dpkg -l openssl
+++-===============================-====================-====================-====================================================================
ri openssl 20140901-1 amd64 Package created with checkinstall 1.6.2


I also add it in the path
 
I change the openssl package and it works! Thanks!!

I get on the interface and it ask me login but I never configure any password during the installation.
Is there anyway to reset the password?
 
When I try to log with my PAM account I got error 401 : /etc/pve/authkey.pub doesn't exist
 
When I try to log with my PAM account I got error 401 : /etc/pve/authkey.pub doesn't exist
 
# pvecm updatecerts
# ls /etc/pve
local nodes openvz priv pve-root-ca.pem pve-www.key qemu-server save vzdump.cron

I still can't connect to Prxmox :(

Capture du 2014-09-24 15:28:09.png
 
Last edited:
Still no public key :(

# ls /etc/pve/
local nodes openvz priv pve-root-ca.pem pve-www.key qemu-server save vzdump.cron
# rm -f /etc/pve/pve-root-ca.pem /etc/pve/pve-www.key
# ls /etc/pve/
local nodes openvz priv qemu-server save vzdump.cron
# pvecm updatecerts --force
# ls /etc/pve/
local nodes openvz priv pve-root-ca.pem pve-www.key qemu-server save vzdump.cron


Can't I generate it with openssl??