我使用以下命令创建了自己的CSR
openssl req -new -newkey rsa:2048 -nodes -out bgsisson_com.csr -keyout bgsisson_com.key -subj "/C=US/ST=CA/L=Los Angeles/O=Benjamin Sisson/OU=Development/CN=bgsisson.com/emailAddress=myemail@dom.com"
然后我使用以下命令创建了一个CRT
openssl x509 -req -days 365 -in bgsisson_com.csr -signkey bgsisson_com.key -out bgsisson_com.crt
当我尝试将此证书上传到https://identity.apple.com/pushcert/时,我收到了无效的证书签名请求。
我创建的证书错了吗?证书是否需要验证?
谢谢!
更新 - 从CN中删除了通配符。我仍然收到无效的证书签名请求。
更新 - 添加了CSR和CRT。我测试上传它们,但我想我只需要上传CSR
更新 - 向CSR添加了emailAddress
bgsisson_com.csr
-----开始证书申请----- MIICvDCCAaQCAQAwdzELMAkGA1UEBhMCdXMxCzAJBgNVBAgTAkNBMRQwEgYDVQQH EwtMb3MgQW5nZWxlczEYMBYGA1UEChMPQmVuamFtaW4gU2lzc29uMRQwEgYDVQQL EwtEZXZlbG9wbWVudDEVMBMGA1UEAxMMYmdzaXNzb24uY29tMIIBIjANBgkqhkiG 9w0BAQEFAAOCAQ8AMIIBCgKCAQEAudmpTvmnWLivwLaFNx6w / kgwUbPCr8ujZOtx 1LU / + alpuHPoQ4Kpyt3rsj9wc / PSWXBFjIV607YCINTJrQfHUJMq55s3aWxeroB9 llqXn0qTJ2GujAmuWBX2nvIZucQVF1xX3 / V1179CKM / + Z / rE4ehiJdEnMQk6Otrv HT1W / eIL5rzSjky + ZpaRSguUpyQSsSuD4Cdfo6NMiY5RVvh9N / Q / O + jEpAJxEHOd nAbJj8WU2WW9MxtUw21UODh5kHX + b8sLfuKB9EJ2XUqwvdJt9MgnrAiYVkvjq1iT dZFd2nHiKZnLRr2jBZ74u9duqwm9kD8zoOAiMzbFUTjD1AZIHwIDAQABoAAwDQYJ KoZIhvcNAQEFBQADggEBAK + Zr5pdtcqVUtMD8843wz7h3bAOVIvrJpbr2 / g1mUvo 4Pn27Xlw / CZL2aqOniTTCOeGvWAvHtckxaTxPL3Ruid2 / QTnOgKecUnqVPAoqaBP 0SPJDo3X1rbWKVTTJOvT67Kywtd8q + Msx46IqE / 2YWur + XO47dnKWR4lPJipgjjY P + zt9TPTAqu + M6xwqsslUy9r68GaQGTdRdQSyZB5XAg + I271mtxrSrImaAPEi1MY 2ch9r4NaFWH9X7CH67Y0QCKsGjKU4Ftz6x8c1cf4n8TuWgD5 / S2UeY + zj3JvjVgj DJlQyKGmYCC6G0FcoWSD7yCvJ + k0DcoJuGUO3094RIg = -----结束证书请求-----
bgsisson_com.crt
----- BEGIN CERTIFICATE ----- MIIDajCCAlICCQCMvMl8OXFb3jANBgkqhkiG9w0BAQUFADB3MQswCQYDVQQGEwJ1 czELMAkGA1UECBMCQ0ExFDASBgNVBAcTC0xvcyBBbmdlbGVzMRgwFgYDVQQKEw9C ZW5qYW1pbiBTaXNzb24xFDASBgNVBAsTC0RldmVsb3BtZW50MRUwEwYDVQQDEwxi Z3Npc3Nvbi5jb20wHhcNMTIwMzIyMTY1MzA1WhcNMTMwMzIyMTY1MzA1WjB3MQsw CQYDVQQGEwJ1czELMAkGA1UECBMCQ0ExFDASBgNVBAcTC0xvcyBBbmdlbGVzMRgw FgYDVQQKEw9CZW5qYW1pbiBTaXNzb24xFDASBgNVBAsTC0RldmVsb3BtZW50MRUw EwYDVQQDEwxiZ3Npc3Nvbi5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK AoIBAQC52alO + adYuK / AtoU3HrD + SDBRs8Kvy6Nk63HUu7 / 5qWm4c + hDgqnK3euy P3Bz89JZcEWMhXrTtgIg1MmtB8dQkyrnmzdpbF6ugH2WWpefSpMnYa6MCa5YFfae 8hm5xBUXXFff9XXXv0Ioz / 7P + sTh6GIl0ScxCTo62u8dPVb94gvmvNKOTL5mlpFK C5SnJBKxK4PgJ1 + jo0yJjlFW + H039D876MSkAnEQc52cBsmPxZTZZb0zG1TDbVQ4 OHmQdf5vywt + 4oH0QnZdSrC90m30yCesCJhWS + OrWJN1kV3aceIpmctGvaMFnvi7 126rCb2QPzOg4CIzNsVROMPUBkgfAgMBAAEwDQYJKoZIhvcNAQEFBQADggEBALa5 1rkRjCAJF1WU2TIM9FA7A7upb8YVKnagthCIn3kLYBqI4wRHO28HPm53IWJP /拥抱 80rjczKY03PFjuiikrlPzUdBR99n4jq6UhcFdG4Z948lXoS2WsIJc6vZmA6wBAIE H + Xe4SjdPvhsKKrVLFEgpSb / 67mUdHF2qVkhvkqs8EgJ65fozjW2adyF6NxOWrmG 5Q ++使Dp / + K1TSkLM / yZieWWbQ042OyYCZ + agIuwpduW5waKbN1 + TERKJo0eFlwQUi w7KsgLpfoyGji4FzznODGxRq / 2Ja5VPnnfa4pxG + l0qkn5VoW27qFHJy5E6Z7Bqb RqpfbiQ6jeLcqCiWgig = -----结束证书-----
答案 0 :(得分:4)
您需要使用企业开发人员帐户向供应商签署证书请求。该信息可在http://www.softhinker.com/in-the-news/iosmdmvendorcsrsigning
获取答案 1 :(得分:2)
我怀疑它正在绊倒CN
中的通配符,因为不接受带有通配符的AppID。