该方法基于 萌咖 提供的API。1.生成 CSR(支持 EC key)如果你已经很熟悉这一步了,那么直接生成就好,如果不知道这是个啥,可以前往 在线生成 输入域名(以本站域名为例)必须加上 *. 才可以申请到泛域名证书。CSR Value 里的内容即为我们一会要用到的CSR,注意,下方 Certificate Private Key 的内容也需要保存,后面会用到。2.获取 Token请提前在支付宝里准备好30元人民币大钞(价格截至2023-02,1月份还是¥25呢...)。打开 萌咖 杂货店 点
2024-7-1 更新,该路径申请ssl证书已失效。
该方法基于 萌咖 提供的API。
1.生成 CSR(支持 EC key)
如果你已经很熟悉这一步了,那么直接生成就好,如果不知道这是个啥,可以前往 在线生成 输入域名(以本站域名为例)必须加上 *. 才可以申请到泛域名证书。
CSR Value 里的内容即为我们一会要用到的CSR,注意,下方 Certificate Private Key 的内容也需要保存,后面会用到。
2.获取 Token
请提前在支付宝里准备好30元人民币大钞(价格截至2023-02,1月份还是¥25呢...)。
打开 萌咖 杂货店 点击 购买服务。
点击 AlphaSSL Apply Token 的 立即订购。
点击结账
根据提示信息完善内容,并点击完成订购
最后,可以在 https://shop.moeclub.org/clientarea.php?action=productdetails&id=14959 看到我们购买的Token
3.确保域名可以接受邮件
确保你要申请证书的域名有一个名为admin的邮件账号(如 admin@projectoms.com),若没有可以使用腾讯企业邮箱或Zoho免费版
4.申请证书
前往 https://api.moeclub.org/SSL 输入我们在第一步生成的 CSR 和第二步购买的Token,点击 Get AlphaSSL!
5.确认邮件
登录 admin@你的域名 邮箱,一般在30分钟内会收到 AlphaSSL 发送的一封邮件,点击其中的链接完成申请。
随后 AlphaSSL 会再发来一封邮件,在这封邮件的底部便是我们申请的SSL证书(的一部分,需要补全)
6.补全并安装证书
由于证书链原因,我们需要在邮件里提供的证书后面加上 AlphaSSL 的中间证书。
2023/01/16 更新: 如果你是在2022/11月之后申请的 AlphaSSL 证书,请使用新中间证书!
新中间证书(AlphaSSL CA - SHA256 - G4):
MIIEijCCA3KgAwIBAgIQfU1CqStDHX5kU+fBmo1YdzANB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QDAgEGMBIGA1UdEwEB/wQIMAYBAf8C AQAwHQYDVR0OBBYEFPXN1TwIUPlqTzq3l9pWg+Zp0mj3MEUGA1UdIAQ+MDwwOgYE VR0gADAyMDAGCCsGAQUFBwIBFiRodHRwczovL3d3dy5hbHBoYXNzbC5jb20vcmVw b3NpdG9yeS8wMwYDVR0fBCwwKjAooCagJIYiaHR0cDovL2NybC5nbG9iYWxzaWdu Lm5ldC9yb290LmNybDA9BggrBgEFBQcBAQQxMC8wLQYIKwYBBQUHMAGGIWh0dHA6 Ly9vY3NwLmdsb2JhbHNpZ24uY29tL3Jvb3RyMTAfBgNVHSMEGDAWgBRge2YaRQ2X yolQL30EzTSo//z9SzANBgkqhkiG9w0BAQsFAAOCAQEAYEBoFkfnFo3bXKFWKsv0 XJuwHqJL9csCP/gLofKnQtS3TOvjZoDzJUN4LhsXVgdSGMvRqOzm+3M+pGKMgLTS xRJzo9P6Aji+Yz2EuJnB8br3n8NA0VgYU8Fi3a8YQn80TsVD1XGwMADH45CuP1eG l87qDBKOInDjZqdUfy4oy9RU0LMeYmcI+Sfhy+NmuCQbiWqJRGXy2UzSWByMTsCV odTvZy84IOgu/5ZR8LrYPZJwR2UcnnNytGAMXOLRc3bgr07i5TelRS+KIz6HxzDm MTh89N1SyvNTBCVXVmaU6Avu5gMUTu79bZRknl7OedSyps9AsUSoPocZXun4IRZZ Uw== -----END CERTIFICATE-----
格式如下
-----BEGIN CERTIFICATE-----你收到的邮件中提供的证书-----END CERTIFICATE----------BEGIN CERTIFICATE-----本站提供的 AlphaSSL 中间证书-----END CERTIFICATE-----
2024/02/04 更新: 由于Mozilla新的狗屎根证书政策(根证书有效期不能超过15年),各证书厂商不得不重新签发各种中间证书,如果你在2024/01/29后申请AlphaSSL 证书,请使用新中间证书!
-----BEGIN CERTIFICATE-----MIIFjDCCA3SgAwIBAgIQfx8skC6D0OO2+zvuR4tegDANBgkqhkiG9w0BAQsFADBMMSAwHgYDVQQLExdHbG9iYWxTaWduIFJv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GDAIBgZngQwBAgEwDAYKKwYBBAGgMgoBAzANBgkqhkiG9w0BAQsFAAOCAgEAfMkkMo5g4mn1ft4d4xR2kHzYpDukhC1XYPwfSZN3A9nEBadjdKZMH7iuS1vF8uScg26/30DRPen2fFRsr662ECyUCR4OfeiiGNdoQvcesM9Xpew3HLQP4qHg+s774hNLvGRD4aKSKwFqLMrcqCw6tEAfX99tFWsD4jzbC6k8tjSLzEl0fTUlfkJaWpvLVkpg9et8tD8d51bymCg5J6J6wcXpmsSGnksBobac1+nXmgB7jQC9edU8Z41FFo87BV3kCtrWWsdkQavObMsXUPl/AO8y/jOuAWz0wyvPnKom+o6W4vKDY6/6XPypNdebOJ6mjyaILp0quoQvhjx87BzENh5s57AIOyIGpS0sDEChVDPzLEfRsH2FJ8/W5woF0nvsBTqfYSCqblQbHeDDtCj7Mlf8JfqaMuqcbE4rMSyfeHyCdZQwnc/r9ujnth691AJhxyYeCM04metJIe7cB6d4dFm+Pd5ervY4x32r0uQ1Q0spy1VjNqUJjussYuXNyMmFHSuLQQ6PrePmH5lcSMQpYKzPoD/RiNVD/PK0O3vuO5vh3o7oKb1FfzoanDsFFTrw0aLOdRW/tmLPWVNVlAb8ad+B80YJsL4HXYnQG8wYAFb8LhwSDyT9v+C1C1lcIHE7nE0AAp9JSHxDYsma9pi4g0Phg3BgOm2euTRzw7R0SzU=-----END CERTIFICATE-----
随后,我们就可以愉快的安装证书了!
以宝塔面板为例:
将补全的证书粘贴到 证书(PEM格式) 中,将第1步中获取的Certificate Private Key粘贴到 密钥(KEY) 中,点击保存,部署成功!
信息来源:https://blog.projectoms.com/pages/495.html