搜索内容

最新文章

  • Nginx

    Nginx部署WordPress支持SSL和伪静态

    server { listen 443; root /home/wwwroot/wenzhancc/wwwroot; ssl on; ssl_certificate /home/ssl/www.wenzhan.cc.crt; ssl_certificate_key /home/ssl/www.wenzhan.cc.key; ssl_prefer_server_ciphers on; ssl_session_timeout 10m; ssl_protocols TLSv1TLSv1.1TLSv1.2; ssl_ciphers EECDH+CHACHA20:EECDH+AES……
    admin 2024-12-28
  • Apache

    Windows系统PHPstudy Apache 配置https

    PHPstudy按照以下代码编辑配置文件。 SSLStrictSNIVHostCheck off SSLCipherSuite HIGH:!RC4:!MD5:!aNULL:!eNULL:!NULL:!DH:!EDH:!EXP:+MEDIUM SSLHonorCipherOrder on SSLProtocol all -SSLv2 -SSLv3 <VirtualHost *:443> DocumentRoot “C:\phpStudy\PHPTutorial\WWW” ServerName www.wenzhan.cc ServerAlias wenz……
    admin 2024-12-27
  • Nginx

    nginx 如何配置该链接使用TLS1.3如何改成1.2

    要将 Nginx 配置中的 TLS 版本更改为 TLS 1.2,请按照以下步骤进行操作: 1、打开 Nginx 配置文件。通常,该文件位于 /etc/nginx/nginx.conf 或 /etc/nginx/conf.d/default.conf。 如果您使用的是宝塔面板 - 可以点击 设置 -配置文件 进行编辑。 2、在配置文件中找到与 SSL/TLS 相关的配置块,可能是 ssl_protocols 或 ss……
    admin 2024-10-29
  • PHPCMS

    phpcms开启https后出现重定向循环或打不开的解决办法

    Phpcms不支持https的解决办法,修改文件,使用https协议。 1、\phpcms\libs\functions\global.func.php 找到: $url = str_replace(array('http://','//','~'), array('~','/','http://'), $url); 替换为: $url = str_replace(array('https://','//','~'), array('~','/','https://'), $url); 理论上修改这一个文件后,……
    admin 2024-06-29
  • SSL

    tomcat 多站点部署https

    <Connector port="443" protocol="org.apache.coyote.http11.Http11Nio2Protocol" SSLEnabled="true" defaultSSLHostConfigName="域名.com"> <SSLHostConfig hostName="域名.com" certificateKeystoreFile="conf/1xxxx.jks" certificateKeystorePassword="12321212" /> <SSLHostConfig hostName="www.域名……
    admin 2024-06-29
  • SSL

    帝国CMS开启https,打开后台空白的解决办法。

    1、7.5及以上版本  7.5版本 http和https 可以自动识别,但有时候自动识别判断的不准,后台登录也是空白, 可以打开  e/config/config.php 查找   ’httptype’=>0   改为’httptype’=>2    即可 说明: 'httptype'=>0, 代表自动 'httptype'=>1,代表全站http 'httptype'=>2,代表全站https 'httptype'=>3,代……
    admin 2024-02-29
  • Apache

    The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection.

    The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection. 原因是使用apache 由于启用HTTP2,浏览器默认在同证书、同IP的情况下会采取连接复用 ,如果配置两个站点的配置不通 或根证书不一致,会导致服务器拒绝浏览……
    admin 2023-12-29
  • SSL

    宝塔面板开启面板SSL后打不开

    宝塔面板开启面板SSL后,使用http地址,访问面板地址会提升 连接被重置 “ERR_CONNECTION_RESET”    如图。 解决办法 1、请访问   https://宝塔地址:端口/入口   2、若出现 如提醒风险点击【高级】或【详情】 3、【继续访问】或【接受风险并继续】 下面以谷歌浏览器和火狐浏览器举例   1、Chrome/谷歌浏览器(其他浏……
    admin 2023-11-29
  • Linux

    Ubuntu Server 20.04 使用Certbot申请免费泛域名SSL证书

    测试使用环境 Ubuntu Server 20.04 cerbot版本1.7.0 1、登录服务器,需要有root权限。 2、执行命令:sudo apt install certbot (如果报错 请执行命令 sudo apt-get update ,请参考 https://www.wenzhan.cc/article/98 ) 3、获取证书:sudo certbot certonly --manual --preferred-challenges=dns 说明:certonly表示我……
    admin 2021-12-29
  • SSL

    HTTPS的常见错误及解决方案-火狐浏览器篇

    SEC_ERROR_EXPIRED_CERTIFICATE 网站的SSL证书有效期过期导致的 申请新的SSL证书 SSL_ERROR_BAD_CERT_DOMAIN 访问的域名和证书绑定的域名不一致导致 请检查访问的域名或者证书绑定的域名是否相同 SEC_ERROR_UNKNOWN_ISSUER 使用了自签证书或者已经被吊销的根证书导致,请在合法的CA申请SSL证书 请在合法的CA申请SS……
    admin 2021-12-29