那年花开月正圆原创文学网 - 纯净的绿色文学家园 !

那年花开月正圆(全文在线阅读>

那年花开月正圆

给HTTPS上把锁:Nginx强密码套件配置_我的网站

夜市人生

一 |     LONDON -- Voters are casting ballots Thursday in two special elections in England that could add more misery to the beleaguered governing Conservative Party as it prepares to fight a national election next year.The Conservatives won both Tamworth in central England and Mid-Bedfordshire, north of London, by large margins during the last national election in 2019. But both constituencies’ lawmakers resigned under a cloud.Tamworth legislator Chris Pincher quit after Parliament’s standards watchdog recommended he be suspended for “completely inappropriate” behavior after groping two men at a London private members’ club. Then-Prime Minister Boris Johnson’ s reluctance to sanction Pincher when the allegations emerged helped trigger Johnson's ouster at the hands of his own party last year.Mid-Bedfordshire member of Parliament Nadine Dorries resigned over the treatment of Johnson and her own failure to be appointed to Parliament’s upper chamber, the House of Lords. Dorries is a strong ally of Johnson who has blamed Prime Minister Rishi Sunak for helping to topple the former leader.The Conservatives acknowledge they face “difficult headwinds” in both seats. Polls close at 10 p.m. (2100GMT), with results announced early Friday.The main opposition Labour Party and the smaller Liberal Democrats hope to win the seats but have tried to manage expectations, noting that the Conservatives won substantial majorities in 2019. Labour has called both districts “super-safe Tory seats.”Losing either one would add to pressure on the governing party, which has lost several byelections since Sunak took office just under a year ago. He replaced Liz Truss, who quit in October 2022 after her plan for unfunded tax cuts sent financial markets into turmoil and rocked the economy.Truss spent just seven weeks in office after winning a party leadership contest to replace Johnson, who quit after three years in office when scandals over money and ethics turned party lawmakers against him.Sunak steadied the economy but has not managed to boost the party’s rating in opinion polls, where it consistently lags between 10 and 20 points behind Labour.The Conservatives have been in power nationally since 2010, years that saw austerity following the world banking crisis, Britain’s divisive decision to leave the European Union, a global pandemic and a European war that has triggered the worst cost-of-living crisis in decades.Polls show the Conservatives are losing support across the country, from affluent southern voters turned off by Brexit to working-class northern voters who switched from Labour in 2019 after Johnson promised to spread prosperity to long-neglected areas.Sunak has tried to rally support by arguing he has a long-term vision and is prepared to make tough decisions to change Britain.Earlier this month Labour won a special election victory over the Scottish National Party in Scotland. Winning seats in Scotland, where the pro-independence SNP has long been dominant, is key to Labour’s attempt to secure a majority in the next national election, due by the end of 2024.。    

     一键部署OpenClaw        

证书装了不等于站点安全。TLS版本太低、密码套件太弱,照样会被中间人攻击和协议降级攻击盯上。尤其是站长手里的小站,很多用的还是默认配置,老旧的TLS 1.0/1.1根本没关。    

         

下面的配置直接屏蔽TLS 1.0/1.1,只保留TLS 1.2和1.3,同时启用HSTS和OCSP Stapling,让浏览器只走安全通道。    server {        listen 443 ssl http2;        ssl_certificate     /etc/nginx/ssl/site.crt;        ssl_certificate_key /etc/nginx/ssl/site.key;             ssl_protocols       TLSv1.2 TLSv1.3;        ssl_ciphers         ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384;        ssl_prefer_server_ciphers on;             ssl_session_cache   shared:SSL:10m;        ssl_session_timeout 1h;        ssl_session_tickets off;             add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" always;        ssl_stapling on;        ssl_stapling_verify on;        ssl_trusted_certificate /etc/nginx/ssl/chain.crt;    }    

配置完用openssl s_client -connect yourdomain.com:443 -tls1_1测试,正确结果是握手失败。

二 | 再用SSL Labs跑一下,A+就稳了。    

Windows的IIS用户也能照这个思路:在注册表里关闭TLS 1.0/1.1的服务器端,并启用HSTS响应头。原理一样,只是换了个配置入口。

        
    

申请创业报道,分享创业好点子。

三 | 点击此处,共同探讨创业新机遇!。

Current article:http://www.diaoengngtengdiachanpiezao.sbs/list_wbzokh/lg8ge6.ppt

Published on:07:19:32


顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------