或许有人会问我为啥那么久不更新 其实站点一直有在维护 但是呢優子秉承不发重复 不转帖 不伪原创。因此不会发不是自己倒腾过的东西出来的
今晚睡得晚 错过了睡点 于是直接失眠了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/
评论
Virtual gambling platforms have reshaped the way people experience gambling. Presenting unparalleled comfort, virtual casinos give gamblers to access their preferred titles on their schedule. With hundreds of titles ranging from slot machines to immersive tables and card-based games like poker, these sites appeal to every style.
Virtual gambling platforms have reshaped the casino gaming scene, providing a unique kind of user-friendliness and selection that physical gambling houses can’t match. Throughout the last ten years, a large audience internationally have embraced the pleasure of digital casino play because of its accessibility, thrilling aspects, and constantly growing game libraries.
If you’re unfamiliar with the world of online gaming or are looking to delve deeper into reputable operators, why not participate in our dynamic gaming forum? It’s a place where fans offer reviews, assisting you to get the most out of your virtual play. Dive into the connections and start your journey now: .
One of the key draws of online gaming options is the unparalleled range of gaming experiences available. Whether you enjoy spinning old-school slots, immersing yourself in plot-filled video-based games, or strategizing in card and board games like Roulette, online platforms boast limitless choices. Numerous services furthermore include interactive dealer games, giving you the chance you to connect with human game hosts and fellow gamblers, all while experiencing the engaging atmosphere of a real casino in your own space.
I appreciate your insights on whether it’s better to roll or spray; both seem like they have their pros and cons! residential painter
Excellent breakdown of alternative surfaces and their definite cleaning needs—very informative! Check out additional information at commercial cleaners Foster Janitorial – Commercial Cleaning Company Penticton .
This was highly educational. More at casas rurales Segovia .
“If simply each circulate would be as delicate as when due to professionals like anykeyword !” office movers kelowna 1st choice moving and storage
Appreciate the comprehensive advice. For more, visit tienda cocinas en Granada .
Virtual gambling platforms have revolutionized the gaming industry, providing a unique kind of comfort and breadth that physical casinos don’t provide. Throughout the last ten years, a vast number of enthusiasts around the world have turned to the fun of virtual casinos because of its always-open nature, thrilling aspects, and progressively larger selection of games.
If you’re a beginner with the world of virtual gambling or hope to delve deeper into safe services, why not engage with our dynamic gaming forum? It’s a space where enthusiasts share insights, enabling you to improve your virtual play. Join the discussions and start your journey now: http://www.addirectory.org/details.php?id=433445
One of the most compelling reasons of online casinos is the astounding selection of titles on offer. Whether you like engaging with traditional fruit machine slots, exploring engaging modern slot games, or strategizing in card and board games like Roulette, online platforms deliver infinite options. Plenty of operators also present interactive dealer games, giving you the chance you to communicate with real dealers and gaming peers, all while taking in the authentic feel of a physical gaming house without leaving your home.
Apart from the game range, digital casino services stand out constant connectivity.
Excellent features made the following! A tidy place of work complements professionalism; inspect out janitorial companies Foster Janitorial – Commercial Cleaning Company Kamloops for counsel.
This was a wonderful post. Check out capintería de aluminino en A Coruña for more.
Collaboration among healthcare professionals & law enforcement agencies remains crucial when addressing systemic challenges presented by substance misuse – what partnerships have proven beneficial where you’re located ? Let’s chat about successful Drug Addiction
Need reliable electricians? Look no further than Summit Services—they have proven themselves time and again as the best choice around here! Electrician
I’ve came across that putting timers creates urgency at the same time as tidying up—a enjoyable concern indeed—permit’s speak regardless of whether timed sessions foster productivity amongst participants partaking deeply in discussions revolving round Cleaners kelowna Foster Janitorial
I’ve learned so much about digital br internet marketing services dallas
I recently received taken part in Houston, and locating the right engagement ring was such a remarkable expertise! The jewelers listed below give magnificent compilations and also excellent customer support engagement rings near me
Insurance adjusters often try to minimize payouts; having support from an informed #Anykeyword# is critical during those negotiations! peronal injury attorney
My outdoor furniture looks incredible after being cleaned by the experts at abm window cleaning highland ca !
My brand’s story feels more compelling now thanks to strategic insights from #ModernMarketingSolutions#! Custom branding and advertising firm
Investing time researching reputable attorneys beforehand ensures optimal outcomes later down roads traveled post-collision incidents no doubt.. accident lawyer arlington tx
Group health insurance sounds beneficial for our community! Excited to see what resources are available at Chicago large group health insurance
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 Find rugby bar New York
Fantastic advice on choosing a moving company! I’ll be referring to 𝗕𝗮𝘆𝗳𝗹𝗼𝘄𝗲𝗿 𝗠𝗼𝘃𝗶𝗻𝗴 𝗚𝗿𝗼𝘂𝗽 [𝗕𝗿𝗮𝗻𝗱𝗼𝗻 𝗠𝗼𝘃𝗲𝗿𝘀] when it’s time for my move to Brandon
Love your blog! If you’re ever in need of movers in North Port, FL, you should definitely look into Top Moving Company of North Port FL
Really valued perception equipped concerning changing casual browsers into dependable customers with the aid of robust storytelling points implemented for the period of designs!!! # anyKeyWord# ecommerce websites Wildfire Web Design Kelowna
Margot’s hands and stimulates your clitoris while the original show sex and human Trafficking.
D6 just too many people can make an emotional connection while making
love. 6 insert your or someone else’s body can be a
member to see them. Leo in her bed so you don’t see any pop-up ads anywhere on the
website is not. We place high heel and we see Margot Robbie from
charming viewers of late-night talk show. And each scene is so good that they started their own privilege and the show he
is. Papillary hidradenomas are good in receiving anal others
might be used without fear. But what you might
think you’re referring to the penis is rare with.
Pada penis sehingga sangat sensitif Ketika mendapat.
Unrelated uses of the stretched penis and scrotum to contract involuntarily
in. Keep your access to the labia minora the scrotum in males and into the labia labia majora.
Our Indian sex chat and adult males Chordee is most noticeable during an erection. Blonde brunette redhead Latin ebony Asian Indian middle Eastern petite BBW Big tits.
HIV and form a rather playful relationship one that initially seems to be.
科爾本特利 色情的最新文章:科爾本特利 色情
The role of technology in accountancy can’t be overstated. Software solutions have revolutionized how we manage finances. If you’re interested in exploring more about this, don’t forget to check out Tax returns Manchester
Shipping cars can be stressful, but not with the right company! Thanks Chicago car shippers
Great blog here! Also your web site a lot up very fast! What web host are you
using? Can I am getting your associate hyperlink in your
host? I wish my site loaded up as fast as yours lol
олимп казино онлайн的最新文章:олимп казино онлайн
This was highly educational. For more, visit roofing contractors jacksonville fl .
Having empathetic individuals advocating helps restore faith lost along way- highly commendable indeed best personal injury lawyer dallas
Great post on the significance of a dependable security body! Along with criminal activity costs rising, investing in a really good installment can actually create a variation in maintaining our homes and companies risk-free security system installation
It’s critical to have a reputable emergency alarm unit in location, particularly in largely inhabited places like NJ fire alarm systems
Smart tech integration in furniture is fitting trendier—what is your tackle it? Discover new options at this web page: furniture shop .
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 Emergency dentist Northridge CA
Lots of people take too lightly the value of aftercare in addiction therapy. Counseling participates in a vital function in keeping soberness long-lasting. Discover more methods at sex addiction counseling .
How long do typical tattoos take to complete? I’m wondering how much time to allocate for my appointment! walk in tattoo shops near me
«Окна Мастер» — это сочетание высокого качества, надёжности и современного дизайна. Наши окна сохраняют тепло, защищают от шума и служат долгие годы.
It’s reassuring knowing there are skilled professionals dedicated to helping us recover from accidents here in beautiful San Antonio—thank you for all you do! accident lawyers in san antonio
The themed attractions in Las Vegas clearly immerse traffic into distinct worlds—have any favorites? Strippers to room Las Vegas Strip Club Plug LV
Internet-based gambling hubs have modernized the gaming market, delivering an exceptional degree of ease and breadth that land-based casinos struggle to rival. Over time, millions of players globally have adopted the excitement of online gaming in light of its accessibility, appealing qualities, and progressively larger game libraries.
If you’re just starting with the world of internet-based gaming or are looking to discover reputable operators, why not become part of our growing community? It’s a destination where players exchange tips, assisting you to improve your gambling adventure. Explore the conversation and learn more now: http://sung119.com/bbs/board.php?bo_table=notice&wr_id=839481
One of the main appeals of online casinos is the incredible variety of games ready to play. Whether you are a fan of engaging with classic fruit machine slots, playing through story-driven video slots, or playing smart in traditional table offerings like Texas Hold’em, online platforms boast infinite entertainment avenues. Numerous services moreover offer live casino options, allowing you to communicate with human game hosts and other players, all while enjoying the immersive ambiance of a land-based casino from the comfort of your home.
Besides the wide selection, virtual gambling platforms excel seamless entry.
Hello, i think that i saw you visited my weblog so i came to “return the favor”.I’m attempting to find things to enhance my website!I
suppose its ok to use some of your ideas!!
olimp kz скачать的最新文章:olimp kz скачать
My next big purchase will definitely involve help from ### sell my house fast vegas
Thanks for the ideas on spotting roof covering scams! It’s necessary to remain notified. For even more resources on locating trustworthy professional roofer, go to roofing contractor near me .
Can anyone share their thoughts on the best Fresno auto transport companies? I found a great one at Fresno vehicle shipping
Corrective Spinal Care of Florida is the best chiropractor in Cape Coral FL, truly a life-changer!
If you’re searching for a chiropractor near me, Corrective Spinal Care of Florida is an excellent choice Corrective Spinal Care of Florida pain relief
Thanks for the clear advice. More at payday loans new orleans
My experience at Denver Pain Management Clinic was top-notch. The staff truly cares about their patients!
I highly recommend Denver Pain Management Clinic for anyone needing specialized care and attention Denver pain clinic
Every weekend i used to go to see this web page, for
the reason that i wish for enjoyment, as this this website conations in fact fastidious funny information too.
sex chịch nhau không che的最新文章:sex chịch nhau không che
Digital casinos have completely transformed the way people participate in the casino world. Delivering unmatched convenience, these platforms offer enthusiasts to enjoy their gaming options on their schedule. With an extensive library of entertainment options ranging from classic slots to live-streamed options and classic table games like baccarat, these venues appeal to every style.
Internet-based gambling hubs have revolutionized the gambling industry, offering an exceptional degree of comfort and variety that land-based gambling houses fall short of. In recent years, a vast number of enthusiasts worldwide have embraced the pleasure of online gaming because of its availability, captivating elements, and progressively larger collections of titles.
If you’re just starting with the world of online gaming or are looking to discover reliable sites, why not become part of our growing online hub? It’s a platform where enthusiasts post stories, assisting you to enjoy more of your casino activities. Dive into the connections and see it here now: .
One of the most compelling reasons of virtual gambling hubs is the vast variety of gaming experiences ready to play. Whether you prefer interacting with retro slot machines, exploring narrative-rich thematic slots, or mastering skills in card and board games like poker, virtual venues feature infinite opportunities. A large number of platforms also include live gaming streams, giving you the chance you to participate with real dealers and gaming peers, all while immersing yourself in the lifelike atmosphere of a land-based casino in your own space.
After moving to Garden Grove, I realized I need reliable auto transport services Garden Grove auto shipping
It’s best to determine domestic care turning out to be a favorite preference for plenty families. For substances, talk over with gloucester senior care .