或许有人会问我为啥那么久不更新 其实站点一直有在维护 但是呢優子秉承不发重复 不转帖 不伪原创。因此不会发不是自己倒腾过的东西出来的
今晚睡得晚 错过了睡点 于是直接失眠了QAQ。就想着折腾点啥打发时间 看着谷歌的SSL就有了自己折腾一个和谷歌一样前卫的HTTPS的想法
闲话到此为止
支持新版本TLS协议和ECDHE_RSA加密需要最低openssl1.0.1 而CentOS6通过默认源yum安装的openssl版本只有1.0.0 是不支持新版本TLS协议和ECDHE_RSA密钥交换方式的
一开始本想自己编译openssl 后来一想 自己编译会跟系统的openssl脱节 从而产生一些问题。谷歌是最好的老师 搜到了一个自定义源 里面有已经编译好的新版本openssl
导入源【请注意 此源仅支持64位系统。32位系统的抱歉了 暂时无法找到合适的源】
CentOS5 x64:
rpm -ivh --nosignature http://rpm.axivo.com/redhat/axivo-release-5-1.noarch.rpm
CentOS6 x64:
rpm -ivh --nosignature http://rpm.axivo.com/redhat/axivo-release-6-1.noarch.rpm
通过源升级安装最新版openssl1.0.1e
yum –enablerepo=axivo update openssl
不出意外的话 确认按一次y 导入KEY按一次y 即可完成安装
此时再输入openssl查看version的话 应该会显示【OpenSSL 1.0.1e 11 Feb 2013】
重新编译nginx
印象中这步是必须的 因为似乎编译时引用了openssl的头文档 需要重新编译
即使不是不是必须的 升级到1.4.1支持spdy协议还是不错的
由于我采用的是lnmp一键包 可以直接使用一键包中的upgrade_nginx.sh升级或者重新编译。如果不是使用一键包的 大致步骤如下:
wget http://nginx.org/download/nginx-1.4.1.tar.gz
tar zxvf nginx-1.4.1.tar.gz
cd nginx-1.4.1
./configure –user=www –group=www –prefix=/usr/local/nginx【注:此处填你自己nginx安装目录 按照原先的编译参数 如果原先就没有 prefix直接去掉】 –with-http_stub_status_module –with-http_ssl_module –with-http_gzip_static_module –with-http_spdy_module【注:使用一键包的也需要修改一键包的编译参数 此处加上红色字段】 –with-ipv6
make
mv /usr/local/nginx/sbin/nginx /usr/local/nginx/sbin/nginx.old【移除+备份老nginx的可执行文件 具体路径是看你的安装方式】
cp objs/nginx /usr/local/nginx/sbin/nginx【复制新的可执行文件进去 具体路径也是看你的安装方式】
/usr/local/nginx/sbin/nginx -t【执行新的可执行文件 测试是否配置文件有问题 具体路径同上】
make upgrade
修改nginx配置文件
需要修改的部分很多 不能像以前两三行解决了
首先
listen 你的ip:443 spdy;#新增spdy协议
SSL部分:
ssl on;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;#新增TLSv1.1 TLSv1.2
ssl_session_cache builtin:1000 shared:SSL:10m;
ssl_session_timeout 5m;#新增SSL session支持 此处和上面的是设置超时和设置cache大小 减轻负载
ssl_stapling on;
ssl_stapling_verify on;#
ssl_certificate 你的公钥.crt;
ssl_certificate_key 你的私钥.key;
ssl_prefer_server_ciphers on;#设置由服务端决定加密方式 避免不安全问题
ssl_ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-RC4-SHA:ECDHE-RSA-RC4-SHA:ECDH-ECDSA-RC4-SHA:ECDH-RSA-RC4-SHA:ECDHE-RSA-AES256-SHA:RC4-SHA:HIGH:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!CBC:!EDH:!kEDH:!PSK:!SRP:!kECDH;#去除所有不安全加密方式。确保不会遭受BEAST攻击。设置ECDHE_RSA正向密钥交换方式
注:红字是新增部分 蓝字可能是以前就有 如果以前有就需要加入红字部分 没有就直接添加。黑字是开启SSL加密所必需的
设置完毕后 reload nginx即可。
此时可以关闭浏览器重新访问你的SSL连接 你会发现你也变成了使用ECDHE_RSA的高级用户了
你同时可以使用SSL在线测试工具:https://www.ssllabs.com/ssltest/analyze.html。不出意外的话你应该是会得A了
这是本站的评分:https://www.ssllabs.com/ssltest/analyze.html?d=tucao.org
至于RC4的问题 我发现谷歌也在用 所以无所谓了。
如果你是考虑完全使用SSL 抛弃不加密的HTTP 可以考虑添加一个严格SSL的header
add_header Strict-Transport-Security max-age=2592000;
注意这个条目需要同时加到不经过加密的80端口的server块和经过HTTPS加密的server块。并且要在不经过加密的server块里设置跳转。设置方式不多说了 谷歌一搜一堆
使用ECDHE_RSA的优势:
1、具有良好前瞻性的密钥交换方式 保证数据安全
2、可以提升SSL握手速度 间接提升网站速度
3、和SPDY协议联合 最大限度提升HTTPS效率
至于见鬼的IE6的兼容问题呢 優子经过测试 XP 下的IE6是没有访问问题的 不需要担心。
p.s.总感觉“正向加密”这个词翻译有点怪?
~以上~
参考了以下文章:
https://blog.hasgeek.com/2013/https-everywhere-at-hasgeek
https://www.axivo.com/community/threads/upgrade-to-openssl-1-0-1-in-centos.180/
评论
If you want peace of mind after experiencing a personal injury consult skilled lawyers available through platforms like # # anykeyword # # relevant to locals around arlington tx family law attorney arlington tx
I appreciate all that injury lawyers in dallas
Absolutely love what you offer here—the creativity shines through beautifully each time we plan obstacle course bounce house
Harmony Drywall & Texture did an amazing job with my drywall installation!
I highly recommend Harmony Drywall & Texture for drywall installation near me.
The team at Harmony Drywall & Texture offers the best drywall installation in Denver CO Drywall repair near me
Online casinos have reshaped the gaming industry, providing an unmatched level of convenience and diversity that brick-and-mortar casinos struggle to rival. In recent years, millions of players internationally have adopted the thrill of digital casino play in light of its accessibility, engaging traits, and progressively larger range of offerings.
If you’re exploring for the first time with the world of internet-based gaming or would like to explore reliable sites, why not sign up for our dynamic online hub? It’s a space where fans discuss stories, enabling you to get the most out of your gaming journey. Dive into the connections and visit us now: http://freeflashgamesnow.com/profile/3272943/Jordan92M81
One of the biggest attractions of virtual gambling hubs is the sheer variety of entertainment options available. Whether you love playing on old-school one-armed bandits, diving into plot-filled visual slot games, or strategizing in strategy-based games like Baccarat, virtual venues offer countless possibilities. Several sites also offer live dealer games, giving you the chance you to connect with human game hosts and opponents, all while taking in the authentic environment of a brick-and-mortar establishment from the comfort of your home.
Adding to the extensive catalog, internet-based gambling hubs thrive in accessibility.
I’ve read some just right stuff here. Definitely worth bookmarking for revisiting.
I surprise how so much effort you set to create the sort of excellent informative web site.
Also visit my web site служба уничтожения тараканов в квартире казань
служба уничтожения тараканов в квартире казань的最新文章:служба уничтожения тараканов в квартире казань
I’ll immediately seize your rss as I can not find your e-mail subscription hyperlink or e-newsletter service. Do you have any? Please permit me realize in order that I may subscribe. Thanks.
The guidance of my car accident lawyer waco was instrumental during negotiations with insurance companies—I couldn’t have done it without
With the good supplier methods self storage
Great article on leveraging local search results effectively! Kudos to the team at professional SEO services for their top-notch
Enjoy the excitement of playing at 4rabet with quick login through the 4rabet platform. Whether you enjoy sports wagering on 4rabet or casino games , this site brings it all under one roof. Install the 4rabet app login for fast and seamless gaming to your favorite games . Check out the 4rabet main site now and explore the thrill of 4rabet . Sign up with 4rabet and enhance your casino fun to the highest peak !
Experience the thrill of online gaming with 4rabet, your go-to site for wagering on sports and thrilling bets in India. Whether you love basketball or other popular sports , the main 4rabet site offers a easy-to-use platform to wager online and maximize your profits. With the 4rabet application, you can access your player dashboard at any moment, anywhere , making sure you never miss out . The 4rabet casino is created to serve both first-time users and experts , featuring a diverse selection of betting options and live dealer experiences.
Join the growing 4rabet family today and immerse yourself in a reliable, intuitive interface . Whether you enjoy using 4rabet on your PC or mobile , the online casino fun is top-tier. Kick off your betting experience with 4rabet India and upgrade your casino fun to new heights !
Link: https://www.confidenze.com/uno-spazio-per-te/page/25/
4RABET provides a easy process for casino enthusiasts and gamblers in India. With the easy account access process being fast and encrypted, users can enter their betting dashboards effortlessly . The 4rabet app login ensures convenience for mobile users , allowing them to bet anytime, anywhere . The 4rabet website features a vast selection of sports events, including basketball, and more , tailored specifically for Indian players . The website is beginner-friendly, simplifying the experience for both new users and high-stakes users to navigate . By accessing the 4rabet official website , members can take advantage of special rewards . The 4rabet casino is trusted for its reliability and fast payouts , ensuring a trustworthy betting adventure . Whether you enjoy wagering on cricket or live dealer experiences, 4rbet has everything you need .
My elderly parents had their carpets cleaned by # any Keyword # and couldn’t stop raving about it! carpet cleaning
Great article! It’s obligatory to dwell proactive approximately HVAC care in our local weather sector. Check out furnace repair vancouver wa for additional guidance.
Streaming Pinoy films has never been so accessible Bibamax
It’s awesome to go to see this web page and reading the views of all
mates about this paragraph, while I am also zealous of getting know-how.
Feel free to visit my web blog – 300kw diesel generator
300kw diesel generator的最新文章:300kw diesel generator
If you’re in the market for a new home sell my vegas house fast
Really impressed with how quickly my order arrived from http://mcclureandsons.com/projects/Water_Wastewater/Sumner_WWTP.aspx?Returnurl=https://www.bust-bookmark.win/with-a-focus-on-customer-satisfaction-6 #! Ready to whip up some treats with my new nangs
I had several issues fixed by Summit Services, and they were thorough and professional every step of the way—thank you! Electrician
Make sure you don’t miss out on finding the best legal assistance for your case—visit san antonio accident lawyer
I enjoyed this article. Check out casas rurales Segovia for more.
Houston has a few of one of the most lovely diamond engagement rings I have actually observed. If you remain in the region and looking for that unique piece, you must most definitely explore nearby jewelers engagement rings near me
This was very enlightening. For more, visit cocinas Granada .
Highly recommend checking out the reviews for Oakland vehicle shipping before your next shipment to Oakl
Very informative piece about the changing landscape of local search results; it’s vital information for businesses today! Visit ###for additional tips and tricks at `#` anyKeyWord`#` Contractor marketing Lowell MA
I wish I had found Idaho Falls residential cleaning services sooner! My home has never looked better.
Thanks for the helpful advice. Discover more at capintería de aluminino en Coruña .
ได้ยินว่าที่ OMG OneMoreGlass มีเหล้าหิ้วมาเองด้วย ชอบมาก! ร้านชิลสาวสวย สาย1
ได้ยินว่าที่ OMG OneMoreGlass มีเหล้าหิ้วมาเองด้วย ชอบมาก! ผับจัดวันเกิด สาย1
I believe every commercial enterprise should always recollect hiring official security capabilities to boost their basic protection strategy! Security Guard Agencies
The role of authenticity in relationship marketing cannot be overlooked—customers value genuine interactions! personalized business cards ann arbor
Navigating complexities involved requires patience persistence perseverance—all qualities necessary overcoming obstacles arising times needing support reassurance encouragement alongside friends family loved ones gathered nearby empowered uplifted cash home buyers near me
ไปที่ OMG ONE MORE GLASS SAI1 กับกลุ่มเพื่อน แล้วมีความสุขทุกนาทีเลยค่ะ ร้านนั่งชิล ใกล้ฉัน
Thanks for the valuable insights. More at roofing contractors jacksonville fl .
Great insights on the current real estate market! I believe understanding trends is crucial. Check out more at cash home buyers nea rme
I never ever understood the number of variables affect the life expectancy of a roofing. Many thanks for sharing! If you have an interest in locating qualified roofing contractors, check out roofing contractor bridgewater nj for useful information.
Digital casinos have changed the gambling landscape, offering a unique kind of comfort and range that physical venues don’t provide. Recently, a growing community worldwide have chosen the excitement of virtual casinos thanks to its always-open nature, captivating elements, and ever-expanding range of offerings.
If you’re unfamiliar with the world of virtual casino play or seek to explore reliable sites, why not sign up for our dynamic online hub? It’s a hub where players share tips, assisting you to improve your casino activities. Explore the community and visit us now: https://alpha119.com:443/bbs/board.php?bo_table=s_cont5_3&wr_id=228857
One of the biggest attractions of internet-based platforms is the incredible diversity of choices available. Whether you love interacting with classic slot machines, diving into story-driven thematic slots, or exercising tactics in traditional table offerings like poker, digital casinos deliver limitless entertainment avenues. A large number of platforms additionally feature live dealer games, making it possible for you to participate with live hosts and other players, all while soaking in the realistic environment of a brick-and-mortar establishment from anywhere you want.
In addition to diversity, virtual gaming providers are known for constant connectivity.
Your guide to underst we buy houses nj
Virtual gambling platforms have completely transformed the way people interact with the casino world. Presenting unparalleled ease of access, virtual casinos make it possible for users to explore their favorite games without restrictions. With hundreds of titles ranging from reel games to immersive tables and strategic games like roulette, these hubs meet the needs of every type of player.
Online casinos have transformed the gaming world, offering a unique kind of comfort and diversity that traditional gambling houses don’t provide. In recent years, a large audience around the world have chosen the pleasure of online gaming because of its anytime, anywhere convenience, thrilling aspects, and progressively larger selection of games.
If you’re unfamiliar with the world of virtual gambling or want to find out more about reliable sites, why not sign up for our active online hub? It’s a hub where gaming aficionados discuss stories, enabling you to improve your gambling adventure. Explore the connections and check it out now: .
One of the biggest attractions of internet-based platforms is the sheer diversity of entertainment options provided. Whether you prefer interacting with traditional slots, playing through theme-based modern slot games, or testing your strategy in table games like Texas Hold’em, virtual venues boast limitless opportunities. Several sites even include interactive dealer games, allowing you to participate with professional croupiers and gaming peers, all while taking in the realistic environment of a land-based casino right at home.
I appreciate how transparent 𝗦𝗵𝗶𝗽 𝗩𝗲𝗵𝗶𝗰𝗹𝗲𝘀 𝗚𝗮𝗿𝗱𝗲𝗻 𝗚𝗿𝗼𝘃𝗲 was about costs and services
Very useful tips shared in this post about selecting a digital partner! Check out what’s possible with expertise from Digital marketing agency Denver
My friends recommended Life Roofing and Construction, and they were spot on – fantastic service in Austin! More information: Roof repairs
The Glam House Nashville is the best beauty salon I’ve ever visited!
I always leave The Glam House Nashville feeling like a superstar.
If you’re searching for a beauty salon near me, check out The Glam House Nashville The Glam House Nashville hairstylist
The Winslow is the best Rugby Bar I’ve ever visited! The atmosphere is unbeatable.
I love hanging out at The Winslow, the ultimate Rugby Bar Near Me.
The Winslow is my go-to spot for rugby matches. It’s the best Rugby Bar New York has to offer The Winslow rugby nights
Tennis is an extensively played sporting activity in Dubai, bring in both easygoing players
and professional professional athletes. The city offers excellent tennis courts with excellent facilities, making sure a wonderful enjoying experience for everybody.
Whether you are seeking to take pleasure in a
pleasant suit, train with specialist trains, or join affordable events,
Dubai has many tennis courts that satisfy all demands. Inside
tennis courts are suched as in Dubai as a
result of the cozy environment, allowing gamers to appreciate the game in a controlled setting.
Numerous courts attribute synthetic flooring that enhances grasp and declines injuries, making them optimal for training and
rivals. A few of the very best tennis courts in Dubai are
located at Dubai Sports Globe, Hamdan Sports Center, Al Nasr
Leisureland, and Expert Sports Academy. These venues supply
specialist illumination, roomy play areas, and effectively preserved courts
to make certain an optimal computer video gaming experience.
For those intending to boost their capabilities, a variety of
Badminton Academy Dubai academies in Dubai usage
structured training programs for all ability levels. Whether you are a
beginner or a cutting-edge gamer, specialist trainers supply lessons concentrated on boosting footwork, racket handling,
and video game strategy. Popular training centers like
Dubai Tennis Academy and Aktiv Nation deal customized training and group
sessions, aiding players fine-tune their approaches.
Reserving a tennis court in Dubai is practical, with lots of
facilities providing on the internet reservations.
Gamers can pick their suggested time ports and book with web websites or mobile applications.
Some locations also offer membership options with inexpensive rates for routine players.
In addition, several showing off activities centers bargain tennis devices services, making it very simple for those that do not have their equipment to play.
Dubai is home to a flourishing tennis neighborhood, with regular events and companies held throughout the year.
These events deal players the chance to contend, gain experience, and include with numerous
other tennis enthusiasts. Firm occasions and area champions additionally include in the
showing off activity’s growing appeal. With premium facilities, specialist training programs, and a
vibrant tennis culture, Dubai is an outstanding destination for badminton fans.
Whether wagering physical conditioning, entertainment, or competition, Dubai’s tennis courts give an inviting and
expert establishing for all players.
Badminton Academy Dubai的最新文章:Badminton Academy Dubai
The right signage can significantly affect foot traffic to your store! Find design tips at SEO services
Lavo Dental is fantastic! I had a dental emergency, and they were quick to assist.
Finding an emergency dentist near me was a breeze with Lavo Dental.
I can’t recommend Lavo Dental enough for emergency dentist services in Northridge, CA Lavo Dental Northridge emergency dentist
Easily the most effective alternative for nangs – loving my reports with Additional hints
Open Wide La Jolla Dentistry provides exceptional dental care with a smile!
I had a fantastic experience at Open Wide La Jolla Dentistry, the best dentist near me!
The staff at Open Wide La Jolla Dentistry are truly friendly and professional cosmetic dentistry
Dental anxiety is real, but it helps knowing that my ### anyKeyWord### is so supportive and understanding Best dental care in Lowell
I didn’t realize how crucial it was to see a chiropractor until after my accident—great insights here! Neck and back pain chiropractor Everett WA