求助,vcloud安装卡在证书的安装部分了
根据官方文档,在vcloud服务器(vcloud服务器为单机环境,rhel5.4)上创建SSL证书分为2种情况我安装"创建并导入签名 SSL 证书"操作时遇到了问题.
即第9步之前都正常执行,但从第9步开始就有问题了
---以下为截取自官方安装文档:
9 将证书签名请求发送给证书颁发机构。--此步如何做?
10 收到签名证书时,请将其导入 Keystore 文件。
a 将证书颁发机构的根证书导入 Keystore 文件。
此命令可将根证书从 root.cer 文件导入 certificates.ks Keystore 文件。
keytool -storetype JCEKS -storepass passwd -keystore certificates.ks -import -alias root -file root.cer
报错:keytool错误: java.io.FileNotFoundException: root.cer (No such file or directory)
c 导入 HTTP 服务的证书。
以下命令可将该证书从 http.cer 文件导入 certificates.ks Keystore 文件。
keytool -storetype JCEKS -storepass passwd -keystore certificates.ks -import -alias http -file http.cer
报错:keytool错误: java.io.FileNotFoundException: http.cer (No such file or directory)
/opt/vmware/vcloud-director/jre/bin/下只有以下几个文件
certificates.ks
consoleproxy.csr
http.csr
并没有.cer的文件,请问cer文件如何生成啊?
------------
另外就是关于 创建自签名SSL部分
创建 certificates.ks Keystore 文件时使用的是计算机,而不是您生成完全限定域名及其关联 IP 地址的列表
的服务器,请立即将 Keystore 文件复制到该服务器。运行配置脚本时,您需要提供 Keystore 路径名称。
这句话又如何理解呢?
----------------
谢谢!!!
本帖最后由 davidchiu 于 10-8-2011 20:31 编辑
根据vcloud director 1.5的安装指南,会告诉你如何生成这个certificate.ks文件的!
我的系统是CentOS 5.5,根据指南,是安装成功的! Create a Self-Signed SSL Certificate
You must have access to a computer that has a Java 6 runtime environment, so that you
can use the keytool command to create the certificate. The Cloud Director installer places
a copy of keytool in /opt/vmware/ cloud-director/jre/bin/keytool, but you can perform this
procedure on any computer that has a Java runtime environment installed.
􀁸 We will create the SSL Certificates on the local machine. Download and install JRE 6
from java website.
􀁸 keytool -keystore certificates.ks -storetype JCEKS -storepass mypass -genkey -keyalg
RSA -alias http
􀁸 keytool -keystore certificates.ks -storetype JCEKS -storepass mypass -genkey -keyalg
RSA -alias consoleproxy You must have access to a computer that has a Java 6 runtime environment
http://communities.vmware.com/docs/DOC-16933 參考此文檔
生成自签名认证的就好了 我也在测试安装了,遇到了很多啊 你的Vcloud机器上没安装Java组件. 随便在 哪台机器上 生成证书都可以啊 beanslee 碰到同样问题,有答案了吗。 另外是不是创建和导入证书时,root.cer 是需要有证书颁发机构的,而自签名就不需要? 直接在 自己的电脑上 建证书 我装的时候和楼主有同样的困惑,实现是只要提供/opt/vmware/vcloud-director/jre/bin/certificates.ks 给VCD安装即可。如果你必须要建立信任的SSL那么必须提交csr来签名,不信任的没关系,提交路径给VCD即可。
页:
[1]