mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-03-30 02:40:11 +08:00
PUB:20151208 How to renew the ISPConfig 3 SSL Certificate
@geekpi
This commit is contained in:
parent
fb1cc19c32
commit
3cddd4e586
@ -1,20 +1,20 @@
|
|||||||
如何更新 ISPConfig 3 SSL 证书
|
如何更新 ISPConfig 3 SSL 证书
|
||||||
================================================================================
|
================================================================================
|
||||||
本教程描述了如何再ISPConfig 3控制面板中更新SSL证书。有两个可选的方法:
|
本教程描述了如何在 ISPConfig 3控制面板中更新 SSL 证书。有两个可选的方法:
|
||||||
|
|
||||||
- 用 OpenSSL 创建一个新的 OpenSSL 证书和 CSR。
|
- 用 OpenSSL 创建一个新的 OpenSSL 证书和 CSR。
|
||||||
- 用 ISPConfig updater 更新 SSL 证书
|
- 用 ISPConfig updater 更新 SSL 证书
|
||||||
|
|
||||||
我将会用手工的方法更新ssl证书。
|
我将从用手工的方法更新 SSL 证书开始。
|
||||||
|
|
||||||
### 1)用 OpenSSL 创建一个新的 ISPConfig 3 SSL 证书 ###
|
### 1)用 OpenSSL 创建一个新的 ISPConfig 3 SSL 证书 ###
|
||||||
|
|
||||||
用root用户登录你的服务器。在创建一个新的SSL证书之前,备份现有的。SSL证书是安全敏感的,因此我将它存储在/root/目录下。
|
用 root 用户登录你的服务器。在创建一个新的 SSL 证书之前,先备份现有的。SSL 证书是安全敏感的,因此我将它存储在 /root/ 目录下。
|
||||||
|
|
||||||
tar pcfz /root/ispconfig_ssl_backup.tar.gz /usr/local/ispconfig/interface/ssl
|
tar pcfz /root/ispconfig_ssl_backup.tar.gz /usr/local/ispconfig/interface/ssl
|
||||||
chmod 600 /root/ispconfig_ssl_backup.tar.gz
|
chmod 600 /root/ispconfig_ssl_backup.tar.gz
|
||||||
|
|
||||||
> 现在创建一个新的SSL证书密钥,证书请求(csr)和自签发证书。
|
> 现在创建一个新的 SSL 证书密钥,证书请求(CSR)和自签发证书。
|
||||||
|
|
||||||
cd /usr/local/ispconfig/interface/ssl
|
cd /usr/local/ispconfig/interface/ssl
|
||||||
openssl genrsa -des3 -out ispserver.key 4096
|
openssl genrsa -des3 -out ispserver.key 4096
|
||||||
@ -39,7 +39,7 @@
|
|||||||
cd ispconfig3_install/install
|
cd ispconfig3_install/install
|
||||||
php -q update.php
|
php -q update.php
|
||||||
|
|
||||||
更新脚本会在更新时询问下面的额问题:
|
更新脚本会在更新时询问下面的问题:
|
||||||
|
|
||||||
Create new ISPConfig SSL certificate (yes,no) [no]:
|
Create new ISPConfig SSL certificate (yes,no) [no]:
|
||||||
|
|
||||||
@ -51,7 +51,7 @@ via: http://www.faqforge.com/linux/how-to-renew-the-ispconfig-3-ssl-certificate/
|
|||||||
|
|
||||||
作者:[Till][a]
|
作者:[Till][a]
|
||||||
译者:[geekpi](https://github.com/geekpi)
|
译者:[geekpi](https://github.com/geekpi)
|
||||||
校对:[校对者ID](https://github.com/校对者ID)
|
校对:[wxy](https://github.com/wxy)
|
||||||
|
|
||||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||||
|
|
Loading…
Reference in New Issue
Block a user