如何更新 ISPConfig 3 SSL 证书
SSL 如何 更新 证书
2023-09-11 14:16:12 时间
本教程描述了如何在 ISPConfig 3控制面板中更新 SSL 证书。有两个可选的方法:
用 OpenSSL 创建一个新的 OpenSSL 证书和 CSR。 用 ISPConfig updater 更新 SSL 证书我将从用手工的方法更新 SSL 证书开始。
1)用 OpenSSL 创建一个新的 ISPConfig 3 SSL 证书用 root 用户登录你的服务器。在创建一个新的 SSL 证书之前,先备份现有的。SSL 证书是安全敏感的,因此我将它存储在 /root/ 目录下。
tar pcfz /root/ispconfig_ssl_backup.tar.gz /usr/local/ispconfig/interface/ssl chmod 600 /root/ispconfig_ssl_backup.tar.gz
openssl genrsa -des3 -out ispserver.key 4096 openssl req -new -key ispserver.key -out ispserver.csr openssl x509 -req -days 3650 -in ispserver.csr \ -signkey ispserver.key -out ispserver.crt openssl rsa -in ispserver.key -out ispserver.key.insecure mv ispserver.key ispserver.key.secure mv ispserver.key.insecure ispserver.key
重启 apache 来加载新的 SSL 证书
service apache2 restart 2)用 ISPConfig 安装器来更新 SSL 证书
另一个获取新的 SSL 证书的替代方案是使用 ISPConfig 更新脚本。下载 ISPConfig 到 /tmp 目录下,解压包并运行脚本。
cd /tmp wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz tar xvfz ISPConfig-3-stable.tar.gz cd ispconfig3_install/install php -q update.php
更新脚本会在更新时询问下面的问题:
Create new ISPConfig SSL certificate (yes,no) [no]:
这里回答“yes”,SSL 证书创建对话框就会启动。
本文来自云栖社区合作伙伴“Linux中国”
原文发布时间为:2013-04-02.
阿里云免费版SSL云盾证书申请流程 ssl证书可以快速实现域名由http升级为https,防止网站被拦截、被篡改、被劫持、被仿冒,阿里云提供免费版的SSL云盾证书,但是很多用户却找不到申请入口,下面就介绍下如何申请阿里云免费版SSL云盾证书。
关于 SSL 证书 在 HTTPS 协议大行其道的今天,其通信所需要的 SSL 证书也是不可或缺的一环,如果访问没有 SSL 证书的网站,就是下面这样的
相关文章
- 如何使用被信任的证书来配置SLB HTTPS协议,使slb站点支持ssl
- 基础连接已经关闭: 未能为 SSL/TLS 安全通道建立信任关系。 根据验证过程,远程证书无效------解决方法
- 消除SDK更新时的“https://dl-ssl.google.com refused”异常
- [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:661)
- 【异常】javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
- 数字证书、SSL、HTTPS及在Nginx中的配置
- Loadrunner执行https报错Action.c(7): Error -27778: SSL protocol error when attempting to connect with hos
- ssl 握手过程【收藏】
- SSL延迟有多大?
- 如何处理postman Self-signed SSL certificate blocked错误
- 成功解决WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python
- 已解决WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python
- 用XCA(X Certificate and key management)可视化程序管理SSL 证书(3)--创建自己定义的凭证管理中心(Certificate Authority)
- SSL通信双方如何判断对方采用了国密
- 用acme.sh申请免费ssl证书-let's encrypt
- wget命令出现Unable to establish SSL connection.错误
- SSL/TLS协议运行机制的概述
- MySQL开启ssl证书