- 积分
- 6
- 威望
-
- 金钱
-
- 注册时间
- 2017-5-17
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
VPS服务商:Vultr 1G版
系统:CentOS 7.3.1611 x86_64
内核:Linux lnmp.org 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
使用:LNMP 1.4 测试版 2017年5月20日10:15 GMT+8
选择:nginx-1.12.0、mysql-5.5.56、php-5.6.30、jemalloc-4.5.0、Enable InnoDB: y
5月份之前 Let's Encrypt SSL获取正常,5月份开始一直是获取失败的(应该是MySQL5.5.55升级MySQL5.5.56后开始不行的),(LNMP1.4测试包每次更新,都重装系统、重装LNMP1.4)。
nginx:1、/usr/local/nginx/conf/nginx.conf 文件中,修改 client_max_body_size 512M;
nginx:2、/usr/local/nginx/conf/fastcgi.conf 文件中,修改fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/:/home/ownCloud/:/dev/urandom";
php:1、/usr/local/php/etc/php-fpm.conf 文件中,添加env[PATH] = /usr/local/bin:/usr/bin:/bin:/usr/local/php/bin
php:1、/usr/local/php/etc/php.ini 文件中,添加模块calendar、exif、fileinfo、imap、ldap、wddx,sendmail_path = /usr/sbin/sendmail -t -i,always_populate_raw_post_data = -1,zend_extension=opcache.so,修改post_max_size与upload_max_filesize 512M,清除scandir。
之后,使用 lnmp vhost add 无法获取SSL,提示:
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address.
- Your account credentials have been saved in your Certbot
configuration directory at /etc/letsencrypt. You should make a
secure backup of this folder now. This configuration directory will
also contain certificates and private keys obtained by Certbot so
making regular backups of this folder is ideal.
Let's Encrypt SSL Certificate create failed!
使用 lnmp ssl add 提示:
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address.
Let's Encrypt SSL Certificate create failed!
相关文件如下(域名、邮箱、密码,替换保密): |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|