Google Apps自定义域名SSL存在问题 [英] Trouble with Google Apps Custom Domain SSL

查看:98
本文介绍了Google Apps自定义域名SSL存在问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前,我正在为Google Apps for business进行为期30天的免费试用(付款已设置,因此即将开始非免费试用)。我正在尝试为Google App Engine应用的自定义域设置SSL,但对于这些内容我有点不高兴,我收集的文件也不会被应用提交表单接受。



我经历了以下过程:

openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key



填写cert后。请求信息(名称为www.mydomain.com),我有CSR.csr和privateKey.key两个文件。



我使用SSLSS提供商CheapSSLs.com提供我有一个关于CSR.csr的证书,他们已经用一个证书 www_mydomain_com.crt 来回应。



但是,在通过Google Apps信息中心 - >安全 - > SSL定制域名并上传 www_mydomain_com.crt privateKey.key 我收到错误消息:



私钥和SSL证书都应该采用未加密的PEM格式。



有什么帮助?据我所知,他们的 是这样的格式:私钥是这样的:

  ----- BEGIN PRIVATE KEY ----- 
MIIEv ...
...
... CftTU =
----- END PRIVATE KEY- ----

和.crt文件如下所示:

  ----- BEGIN CERTIFICATE ----- 
MIIFy ...
...
... WJjk =
----- END CERTIFICATE -----


解决方案

这是由一个友好的社区成员回答,然后立即删除(不知道为什么...),但在我发现他的答案并使用它之前,效果很好:)

  openssl rsa -in privateKey.key -text> private.pem 
openssl x509 -inform PEM -in www_mydomain_com.crt> public.pem

以上两个命令产生 private.pem public.pem ,这些都可以通过Google Apps信息中心正常使用。

谢谢! p>

I'm currently inside the 30-day free trial for Google Apps for business (billing set up, so will start non-free trial soon). I'm attempting to set up SSL for a custom domain for a Google App Engine app, but am a bit of a noob at this stuff and the files I've accumulated aren't accepted by the Apps submission form.

I went through the following process:

openssl req -out CSR.csr -new -newkey rsa:2048 -nodes -keyout privateKey.key

After filling in the cert. request information (with name www.mydomain.com), I had the two files CSR.csr and privateKey.key.

I used an SSL provider CheapSSLs.com to provide me with a certificate off this CSR.csr, and they've responded with a cert www_mydomain_com.crt.

However, on going through Google Apps Dashboard -> Security -> SSL for Custom Domains and uploading www_mydomain_com.crt and privateKey.key I'm given the error:

Both the private key and SSL certificate should be in unencrypted PEM format.

Any help? As far as I can tell, they are in that format: the private Key looks like:

-----BEGIN PRIVATE KEY-----
MIIEv...
...
...CftTU=
-----END PRIVATE KEY-----

and the .crt file looks like:

-----BEGIN CERTIFICATE----- 
MIIFy...
...
...WJjk= 
-----END CERTIFICATE-----

解决方案

This was answered by a friendly member of the community and then immediately deleted (not sure why...) but not before I spotted his answer and used it, to great effect :)

openssl rsa -in privateKey.key -text > private.pem
openssl x509 -inform PEM -in www_mydomain_com.crt > public.pem

The above two commands produce private.pem and public.pem, which are accepted fine by Google Apps dashboard.

Thank you!

这篇关于Google Apps自定义域名SSL存在问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆