德清做网站的公司,2022年适合小学生的新闻,学校网站做几级等保,市民服务中心网站建设Lets Encrypt是一个于2015年三季度推出的数字证书认证机构#xff0c;旨在以自动化流程消除手动创建和安装证书的复杂流程#xff0c;并推广使万维网服务器的加密连接无所不在#xff0c;为安全网站提供免费的SSL/TLS证书。 使用PHP来更新证书#xff1a;
Acme PHP | Rob… Lets Encrypt是一个于2015年三季度推出的数字证书认证机构旨在以自动化流程消除手动创建和安装证书的复杂流程并推广使万维网服务器的加密连接无所不在为安全网站提供免费的SSL/TLS证书。 使用PHP来更新证书
Acme PHP | Robust and easy to use PHP implementation of the Lets Encrypt protocolhttps://acmephp.github.io/安装文档Acme PHP | Documentation
单步操作Acme PHP | Documentation
在运行php acmephp.phar register youremailexample.com时要用自己的邮箱否则会报错。 PHP代码方式引入
https://acmephp.github.io/documentation/core/get-started.html 问题
1在win10上运行会报OpenSSL key creation failed during generation with error: error:0909006C:PEM routines:get_name:no start line。
解决需要设置下环境变量“OPENSSL_CONF”把openssl.cnf的路径设置上去
c: set OPENSSL_CONFxxxx\php-7.4.29-nts-Win32-vc15-x64\extras\ssl\openssl.cnf
?php// 代码方式引入时目前测试使用以下代码方式设置无效要在环境变量中先设置好
// putenv(OPENSSL_CONFxxx/php-7.4.29-nts-Win32-vc15-x64/extras/ssl/openssl.cnf); 2A non-ACME 400 HTTP error occured on request POST https://acme-v02.api.letsencrypt.org/acme/new-acct (response body: (truncated...))
解决使用一个真实的邮箱 参考php配置Lets Encrypt免费ssl证书 - 凭栏知潇雨 - 博客园