I installed:
- Oracle DB 11gR2 on windows XP
- RHEL 6 update 1
- Install Vcloud-director 1.5 on RHEL
When I config Vcloud at step: "Please enter the path to the Java keystore containing your SSL certificates and private keys". I typed: "/opt/vmware/vcloud-director/certificates.ks" but the result always: "Error: file could not be found"
Is there anything I missed? How to pass this step?
Thank you in advance.
certificates.ks will be located in whatever directory you happened to be in at the time you ran the commands to generate the certificates. You can then opy them to whatever location you like. Did you actually generate the certificates already? If you did you can always re-generate them from that directory and the file will then be there.
Chris Colotti offered up an answer for you, I just wanted to point out that if this is a production environment you need to be sure to be in a supported configuration. As far as I can tell, RHEL 6 is not currently supported. It currently looks like RHEL 5 U4,U5,and U6 are supported.
Valid point Brett .
I try to generate the key by typing:
[root@localhost root]# /opt/vmware/vcloud-director/jre/bin/keytool -keystore certificates.ks -storetype JCEKS -storepass password -genkey -keyalg RSA -alias http -dname “cn=vcloud, ou=vmware, o=vmware, c=US” -keypass password
[root@localhost root]# /opt/vmware/vcloud-director/jre/bin/keytool -keystore certificates.ks -storetype JCEKS -storepass password -genkey -keyalg RSA -alias consoleproxy -dname “cn=vcloud, ou=vmware, o=vmware, c=US” -keypass password
But I can't found it in:
- /opt/vmware/vcloud-director/jre/bin/keytool
- /opt/vmware/vcloud-director/jre/bin
- /opt/vmware/vcloud-director/jre
and /opt/vmware/vcloud-director
Look at your path here from what you typed:
[root@localhost root]# /opt/vmware/vcloud-director/jre/bin/keytool -keystore certificates.ks -storetype JCEKS -storepass password -genkey -keyalg RSA -alias http -dname “cn=vcloud, ou=vmware, o=vmware, c=US” -keypass password
You look to be in the root directory so it wll not be in any of the ones you listed. As I stated it will be in the directory you were in when you ran the commands and this [root@localhost root] indicates you are in "root" so look there.
Okie, first I type:
su - root
pass: xxx
-> [root@nhkduy90 ~] ls
-> find file "Certificates.ks" at here
but when I executed in configuration: "Please enter the path to the Java keystore containing your SSL certificates and private keys"
I type:
+ certificates.ks ->result: Error: file could not be found: /opt/vmware/cloud-director/certificates.ks
+ /certificates.ks -> result: Error: file could not be found: /certificates.ks
+ /root/certificates.ks -> result: Error: file could not be found: /root/certificates.ks
So, what must I do now? Make another certificates?
Try changing the ownership of the 'certificates.ks' file to vcloud:vcloud. I mean change the user and group both to vcloud. That should help.
Thanks,
sangeeta
Yes, in fact what is happening, is that you are trying to access a file where you do not have the correct permissions.
Do as Sangeeta told you and in addition I wouldn't leave the certificates files in the "/root" directory anyway.
Once you've moved the file and assigned the correct permissions, using the vCloud configure script should work without any issues.
Okie, working.
Thank you all very much.