abdelouahabb commented on issue #4659:
URL: https://github.com/apache/cloudstack/issues/4659#issuecomment-778914316


   I tried doing it manually (as i think understanding the security concept in 
CloudStack) :
   
   `sudo /usr/share/cloudstack-common/scripts/util/keystore-setup 
/etc/cloudstack/management/server.properties ./cloud.jks dummyPassword007 365 
./cloud.csr`
   
   `sudo /usr/share/cloudstack-common/scripts/util/keystore-cert-import 
/etc/cloudstack/management/server.properties ./cloud.jks mode:agent ./a "/C=DZ 
/ST=akham/L=akham/O=akham/OU=akham/CN=akham.alien.local" ./b 
"/C=DZ/ST=akham/L=akham/O=akham/OU=akham/CN=akham.alien.local" ./c
   CACERT_FILE:  ./b CERT_FILE:  ./a PRIVKEY_FILE:  ./c`
   
   But still the same result,
   
   After investigating in the content of the script, it seems that are some 
folders/files dont exist in the Ubuntu server installation : 
   
   ```
   abdelouahab@akham:/var/cache/cloudstack$
   >> file /etc/libvirt/libvirtd.conf
   /etc/libvirt/libvirtd.conf: ASCII text
   abdelouahab@akham:/var/cache/cloudstack$
   >> file /var/cache/cloud/cmdline
   /var/cache/cloud/cmdline: cannot open `/var/cache/cloud/cmdline' (No such 
file or directory)
   abdelouahab@akham:/var/cache/cloudstack$
   >> pwd
   /var/cache/cloudstack
   abdelouahab@akham:/var/cache/cloudstack$
   >> file /etc/pki/libvirt/private/serverkey.pem
   /etc/pki/libvirt/private/serverkey.pem: broken symbolic link to 
/etc/cloudstack/agent/cloud.key
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to