或许有人会问我为啥那么久不更新 其实站点一直有在维护 但是呢優子秉承不发重复 不转帖 不伪原创。因此不会发不是自己倒腾过的东西出来的
今晚睡得晚 错过了睡点 于是直接失眠了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/
评论
Hidden problems can lead to significant costs later on; don’t skip the inspection phase when buying a house! More tips at Home inspection
This was highly useful. For more, visit abogados laboralistas Sevilla
Just completed my move with the help of Oakland car moving companies
I’ve seen amazing results since partnering with Trendi Marketing Agency digital marketing jobs dallas
I enjoyed this read. For more, visit cocinas Granada
Cricket Nets Dubai offers the perfect
training environment for cricketers of all ability degrees wanting to improve their game.
Whether you are an amateur gamer or a professional cricketer, practicing in top notch cricket nets assists improve
batting, bowling, and fielding strategies. Dubai has actually become a popular
hub for cricket training, using some of the very best centers with advanced equipment,
professional mentoring, and well-maintained pitches.
The enhancing appeal of cricket in Dubai has resulted in the development of world-class method webs that offer an organized and controlled atmosphere for players to enhance
their abilities. Interior cricket webs in Dubai offer year-round training chances, making them optimal for gamers who intend to
train despite the weather. These centers supply a safe and encased setting that
permits gamers to focus on their game without any distractions.
Geared up with professional-grade netting, artificial lawn, and automated bowling
devices, interior cricket nets assist gamers deal with their batting stance, shot option, and bowling
precision. Training in a climate-controlled setting guarantees that
cricketers can practice in a regular and nonstop manner.
The encased setup additionally enhances muscle mass memory, reaction time, and overall precision, which are essential for affordable cricket.
Exterior cricket nets in Dubai supply a more match-like experience, allowing gamers to train on natural lawn wickets in open fields.
These method webs are created for both beginners and progressed cricketers that intend to establish their skills in sensible playing problems.
The well-maintained pitches, safety netting,
and advanced training devices make certain that gamers obtain the very best possible practice experience.
Exercising in outdoor webs aids gamers improve their versatility,
footwork, and fielding reflexes, which are vital for match
performance. Exterior cricket internet also provide bowlers the
chance to deal with their line and length while imitating real-game conditions.
Cricket nets in Dubai satisfy private gamers, teams, and clubs searching for
structured training programs. The presence of professional training personnel guarantees that gamers receive individualized training customized to
their ability degree. Many cricket web facilities in Dubai give
training solutions from skilled specialists, aiding
players boost their batting method, bowling precision, and fielding sychronisation. Whether concentrating on quick bowling,
spin strategies, power hitting, or wicket-keeping drills, cricket nets offer a specialized area for improving all facets
of the video game. Routine technique in cricket webs aids players build confidence,
enhance uniformity, and get a competitive edge. Scheduling cricket webs in Dubai is simple, with
lots of centers offering versatile rental alternatives for
people and teams. These cricket nets can be scheduled for individual practice, group training, or event prep
work. The accessibility of well-kept method areas, progressed training techniques, and performance evaluation devices
makes Dubai among the top locations for cricket training.
Exercising in premium cricket webs ensures that players create their abilities in a specialist setting.
The organized training atmosphere at these cricket webs promotes
team effort, discipline, and gamesmanship, making them a crucial part of any kind of cricketer’& rsquo; s journey.
The facilities at cricket nets in Dubai include top-notch training devices such
as high-speed bowling machines, fielding technique zones, and batting
cages. These functions provide gamers with the chance to fine-tune their method and excellent
their game under the advice of specialist trains. Cricket webs aid gamers service
various elements of the game, including batting drills, bowling accuracy, and fielding reflexes.
The existence of properly maintained devices and specialist training ensures that players can concentrate on their training
without any interruptions. Cricket internet in Dubai offer a secure and regulated setting that urges players to press their limits
and enhance their total performance. Dubai is home to a vivid cricketing area, with gamers from various backgrounds coming together to educate and contend.
The city’& rsquo; s world-class cricket training facilities has actually drawn in players from
around the world who seek high-grade coaching and
practice centers. Cricket nets in Dubai supply a structured technique to
ability growth, helping players of all levels improve their techniques and obtain useful suit experience.
The properly maintained pitches and expert coaching personnel ensure that every gamer
gets the very best feasible training. Whether preparing
for an affordable match or simply aiming to boost cricketing abilities, the cricket webs in Dubai provide an unparalleled training experience.
The organized training sessions at cricket internet in Dubai assistance
players develop essential skills such as maneuvering, shot choice, and game
recognition. The existence of specialist instructors ensures that players receive continual responses, enabling them to identify weak points and deal with improvements.
The regulated environment of cricket internet aids players maintain emphasis
and deal with fine-tuning their abilities. With the accessibility of both interior and exterior
method locations, gamers can educate under various problems to enhance
their versatility and match preparedness. The visibility of bowling equipments, training devices, and fielding drills guarantees that players obtain comprehensive training
that covers all facets of cricket. Cricket nets in Dubai are ideal for players wanting to boost their performance in an organized and specialist setting.
The schedule of top quality devices, experienced coaching team, and well-kept centers makes these training locations the favored choice
for many cricketers. Exercising in cricket nets aids players build self-confidence, improve technique,
and create suit techniques. The affordable training environment cultivates
a strong cricketing way of thinking, encouraging gamers to continuously boost
and take their video game to the following degree. With multiple training facilities throughout Dubai, gamers have access
to several of the best cricket nets readily available.
The cricketing culture in Dubai remains to expand, with more gamers joining specialist training programs to improve
their abilities. Cricket nets provide the structure for boosting
batting, bowling, and fielding methods, permitting gamers to
optimize their capacity. The combination of structured mentoring, top notch centers, and
advanced training tools guarantees that players receive top-tier training.
Cricket nets in Dubai help gamers fine-tune their video game, create match techniques, and gain self-confidence in their capacities.
Training in well-appointed practice nets supplies a possibility to construct uniformity and plan for high-level competitions.
Cricket nets in Dubai supply a specialist and structured training setting where gamers can service their abilities under specialist guidance.
The availability of high-quality pitches, advanced training devices, and
experienced training staff makes certain that every cricketer gets the best possible training experience.
The regulated setting enables players to concentrate on skill advancement and match prep work.
Whether training for a tournament or merely looking to boost their video game,
cricket internet provide the best setup for devoted technique.
Exercising regularly in a structured setting helps players develop consistency,
refine techniques, and boost total efficiency in cricket.
Cricket Nets Dubai的最新文章:Cricket Nets Dubai
My last move was effortless thanks to fantastic long distance movers in Groveland! Get tips from Long distance movers Groveland
I love how cosmetic dentistry has become more accessible over the years dentist studio city
There’s much wisdom gained while discussing collective experiences navigating relocations together–take part sharing thoughts around selected paths crossed previously encountered throughout movements supported consistently here Local movers Lochloosa
Has anyone used Mango commercial movers for office relocation? Would love to hear your experiences! Mango apartment movers
I can’t believe how inexpensive my move was with the help of Local movers Mount Dora ! Check them out for cheap rates
Online casinos have modernized the gambling world, providing an exceptional degree of accessibility and selection that land-based venues fall short of. Over the past decade, millions of players internationally have turned to the pleasure of internet-based gaming because of its availability, exciting features, and widening game libraries.
If you’re a beginner with the world of internet-based gaming or are looking to discover proven options, why not participate in our dynamic social network? It’s a place where enthusiasts share tips, guiding you to improve your online casino experience. Explore the community and see it here now:
One of the most compelling reasons of online casinos is the vast range of gaming experiences provided. Whether you love engaging with vintage one-armed bandits, exploring engaging thematic slots, or mastering skills in card and board games like Blackjack, internet-based gambling sites deliver countless options. A large number of platforms also offer live casino options, enabling you to connect with professional croupiers and fellow gamblers, all while taking in the lifelike environment of a brick-and-mortar establishment without leaving your home.
Apart from the game range, virtual gambling platforms shine constant connectivity.
Thanks for the valuable insights. More at seguros para estudiantes
Have you experimented with savory cakes yet cake makers bristol
Just received testimonials from friends confirming what many others already said: Truly excellent technicians available here!! Vallejo movers
For anyone looking for trustworthy air conditioning repair Air conditioning repair
Emotional help bought as a result of companionship alleviates emotions associated with loneliness; listen testimonials illustrating these merits simply by # # anyK eyword # # gloucester senior care
Useful info. Fortunate me I found your site unintentionally, and I’m stunned why this accident did not took place
earlier! I bookmarked it.
gate repair santa clara county的最新文章:gate repair santa clara county
Digital casinos have modernized the gambling scene, delivering an exceptional degree of comfort and range that conventional casinos can’t match. Throughout the last ten years, countless gamblers across the globe have embraced the fun of internet-based gaming as a result of its accessibility, appealing qualities, and continuously increasing range of offerings.
If you’re a beginner with the world of digital casinos or seek to explore safe services, why not become part of our active community? It’s a platform where gaming aficionados offer experiences, helping you to improve your virtual play. Discover the discussions and start your journey now: http://hptech.co.kr/bbs/board.php?bo_table=04_order&wr_id=70439
One of the biggest attractions of digital gambling sites is the unparalleled variety of gaming experiences provided. Whether you love spinning classic slot machines, exploring engaging video-based games, or exercising tactics in traditional table offerings like Baccarat, internet-based gambling sites provide countless choices. Numerous services even introduce interactive dealer games, making it possible for you to connect with actual dealers and other players, all while immersing yourself in the realistic atmosphere of a brick-and-mortar establishment in your own space.
Beyond variety, internet-based gambling hubs thrive in ease of access.
Great insight on Santa Ana auto transport! I always wondered how the process works Shipping’s Vehicles of Santa Ana
I’ve tried several AC repair services in Miami, but none compare to Ocean AC Repair Hvac services near me
It’s really good how mindfulness can assist give a boost to our productiveness through refocusing our realization! Interested in studying greater? Check out finding mental health support
I’ve been looking for a good Tacoma Car Accident Chiropractor in Tacoma
I’ve seen some incredible before-and-after photos from cosmetic dentists in Los Angeles. It’s inspiring to see how much of a difference they can make emergency dentist studio city
People should know about dedicated teams like those found working diligently behind scenes representing br Gutter repair
Appreciate the thorough write-up. Find more at towing near me
What’s up to all, how is the whole thing, I think every one is getting more from this site, and your views are nice in support of new people.
ไอ้เว็บส้นตีน ติดอันดับได้ยังไง ควยเหอะ的最新文章:ไอ้เว็บส้นตีน ติดอันดับได้ยังไง ควยเหอะ
Teaching English is such a lucrative career right here that you can pick to reside virtually anyplace.
Also visit my homepage … Misooda
Misooda的最新文章:Misooda
Appreciate the thorough insights. For more, visit abogados en Vigo
Seeing firsthand how an accident impacted my friend made me rethink my own driving habits—important lessons shared on auto accident lawyer
“Just wrapped up shipping two cars simultaneously through oakl Oakland car shipping
Wow that was unusual. I just wrote an very long comment but after I clicked
submit my comment didn’t appear. Grrrr… well I’m not writing all that over again. Anyways,
just wanted to say fantastic blog!
bokep indonesia的最新文章:bokep indonesia
Online casinos have transformed the gambling world, delivering an exceptional degree of convenience and range that conventional establishments don’t provide. Throughout the last ten years, countless gamblers across the globe have turned to the pleasure of digital casino play thanks to its availability, exciting features, and constantly growing collections of titles.
If you’re a beginner with the world of virtual casino play or would like to learn about reputable operators, why not engage with our active community? It’s a space where players share reviews, enabling you to maximize your virtual play. Join the connections and learn more now: https://www.c2088.cn/home.php?mod=space&uid=126326&do=profile
One of the main appeals of virtual gambling hubs is the vast range of choices at your disposal. Whether you like playing on retro slot machines, playing through theme-based visual slot games, or mastering skills in table games like Roulette, online platforms provide limitless possibilities. Several sites even feature interactive dealer games, giving you the chance you to participate with actual dealers and gaming peers, all while immersing yourself in the immersive feel of a land-based casino without leaving your home.
Adding to the extensive catalog, internet-based gambling hubs are known for seamless entry.
На androeedsd.ru ты можешь быть уверен, что все моды прошли проверку на вирусы. Мы обновляем базу модов регулярно, и каждый файл проверяется на безопасность, чтобы ты скачивал только безопасные версии. Пользуйся только проверенными источниками!
Hi there, after reading this awesome article i am too glad to share my experience here with colleagues.
garage door service brown county的最新文章:garage door service brown county
I learned more in one session than previous meetings combined—thank you so much Health insurance agent
If you wish for to grow your know-how just keep visiting this site and
be updated with the most up-to-date information posted here.
carfax api的最新文章:carfax api
I felt confident buying my home after A Buyer’s Choice completed their thorough inspection Home inspector
I recently started using a new crm platform that has completely transformed my approach to project management. The task tracking features are incredibly intuitive, making it easy to keep my team on the same page
This was a fantastic resource. Check out abogados laboralistas Sevilla for more
Bay Win, dijital bahis dunyas?nda one c?kan bir web sitesidir. Bahiscilere sundugu cesitli oyun secenekleri, h?zl? erisim avantaj? ve guvenilir hizmet anlay?s? ile dikkat cekmektedir.
Bilhassa Baywin giris islemleri ve son giris adresleri, kullan?c? kitlesi ac?s?ndan s?k sorulan meseleler aras?nda yer bulunmaktad?r.
Baywin Nedir?
Bay Win, dijital bahis platformlar? aras?nda basar?l? bir markad?r. e-spor bahisleri, sans oyunlar?, sanal futbol gibi cok say?da oyun secenegine sahiptir.
Bahis sitesinin en onemli ayr?cal?g?, uyelerine cazip oranlar sunmas?d?r. Ayr?ca, h?zl? odeme surecleri, platformun guvenilirligini pekistirir.
Baywin Giris Sorunlar? ve Cozumleri
Web: https://anhxtanh.edu.vn/kak-osushchestvit-vkhod-na-platformu-1win-bez-problem-i-bystro-rasshirennaya-instruktsiya-dlya-uspeshnogo-starta-onlaynigrokov/
Baywin’in erisim k?s?tlamalar?yla kars?lasmas? kac?n?lmazd?r, bu gibi engeller kars?s?nda Baywin ekibi cozumler sunmaktad?r.
Adres engeli olustugunda, Baywin guncel giris adresini hemen aktif eder ve paylas?r. Bu cozumle, Baywin’in en yeni erisim adresi uzerinden erisim sorunu cozulur.
Guncel giris adresini kullanarak cesitli yollar kullan?labilir. Mobil cihazlar, tas?nabilir cihazlar ve PC’ler uzerinden Baywin’e giris yap?labilir. Bu da kullan?c?lar?n diledikleri yerden bahis yapma ozgurlugunu yasamalar?na olanak tan?r.
This site definitely has all of the info I needed about this subject and didn’t know who to ask.
محصولات رویوال的最新文章:محصولات رویوال
Thanks for the thorough article. Find more at tienda de cocinas en Granada
Ищешь безопасные моды для Android? На androeedsd.ru ты найдешь только проверенные моды без вирусов. Мы регулярно обновляем нашу коллекцию, чтобы ты всегда получал самые свежие и безопасные версии. Заходи и скачивай моды без рисков!
Utilizing generation nicely supports multiplied engagement opportunities empowering users with disabilities facilitating participation remotely– uncover lifelike tricks illustrating appropriate practices available due to articles compiled collectively new jersey senior care
Do you think it’s worth hiring professional movers like Vallejo movers # instead of
Thanks for the helpful article. More like this at seguros para estudiantes
” The passion exuded by everyone involved within projects showcases dedication making every campaign memorable!!! # # anykeyword # #” digital marketing company in dallas
Another pivotal element centers around embracing innovation creativity exploration pushing boundaries challenging conventional wisdom unlocking potential harnessed collaboratively elevating st Cheap movers Groveland
I enjoy experimenting with different flavors in my cakes vegan bakery