我正在尝试在Bluemix中为自定义域上传SSL证书,但我收到了一般错误:
BXNUI2081E:修改证书和密钥时发生未知错误:local:///deploySNIArtifacts/mbaasUtilities.xsl:793:/运算符左侧的类型必须是节点集..
我已经按照文档使用openssl生成自签名证书,使用我的域的通配符形式。关于我可能错过的任何想法?
以下是证书输出的略微编辑版本:
Certificate:
Data:
Version: 1 (0x0)
Serial Number: 17167458275182091963 (0xee3f10581c919ebb)
Signature Algorithm: sha1WithRSAEncryption
Issuer: C=US, ST=Massachusetts, L=Littleton, O=IBM, OU=CLMServices, CN=*.clmsvcs.ibmcloud.com/emailAddress=<email removed>
Validity
Not Before: Apr 19 13:36:39 2016 GMT
Not After : May 19 13:36:39 2016 GMT
Subject: C=US, ST=Massachusetts, L=Littleton, O=IBM, OU=CLMServices, CN=*.clmsvcs.ibmcloud.com/emailAddress=<email removed>
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
Public-Key: (2048 bit)
Modulus:
<<data removed>>
Exponent: 65537 (0x10001)
Signature Algorithm: sha1WithRSAEncryption
<<data removed>>
答案 0 :(得分:0)
我遇到此错误的唯一情况是您使用的私钥与证书不符。
您可以运行以下2个命令来检查您尝试上传的私钥和证书是否匹配:
openssl x509 -noout -modulus -in certificate.crt | openssl md5
openssl rsa -noout -modulus -in privateKey.key | openssl md5
两个命令的输出必须相同。
答案 1 :(得分:0)
This problem went away after a few days. I was able to upload the keys successfully.